init(local:stable:)
Creates an identifier with both local and stable IDs.
Declaration
init(local: LocalID, stable: StableID)Parameters
- local:
The device-specific identifier
- stable:
The cross-device stable identifier
Discussion
Use this initializer when you use separate local and stable identifiers to refer to your entity.