Identifying objects in Swift

John Sundell looks at some of the common concepts of identify available in Swift. He provides simple examples to demonstrate how we can define identify when dealing with both value types and reference types. I was not familiar with Swift’s ObjectIdentifier type, but it’s something I could definitely see myself using at some point.