Structure
ObjectIdentifier
A unique identifier for a class instance or metatype.
Declaration
Overview
In Swift, only class instances and metatypes have unique identities. There is no notion of identity for structs, enums, functions, or tuples.
Topics
Initializers
init(AnyObject)
Creates an instance that uniquely identifies the given class instance.
init(Any.Type)
Creates an instance that uniquely identifies the given metatype.
See Also
Querying Runtime Values
struct Mirror
A representation of the substructure and display style of an instance of any type.