init(displayName:handles:handleIdentifier:)
Returns a new CSPerson object initialized with the specified display name and contact attributes.
Declaration
init(displayName: String?, handles: [String], handleIdentifier: String)Parameters
- displayName:
The name of the person in a user-displayable string.
- handles:
An array of contact handles, such as phone number or email address.
- handleIdentifier:
A property key that specifies a handle type, such as Cncontactemailaddresseskey.
Return Value
An initialized person object that represents a user’s contact.