setDistributionIdentifier(_:forProperty:person:)
Assigns a specific distribution identifier for a person’s multivalue list property so that the group can be used as a distribution list.
Declaration
func setDistributionIdentifier(_ identifier: String!, forProperty property: String!, person: ABPerson!) -> BoolParameters
- identifier:
The identifier to be set as the distribution identifier
- property:
The property whose distribution identifier will be set.
- person:
The person whose distribution identifier will be.
Return Value
Discussion
The default distribution identifier is a multivalue list’s primary identifier. If person is nil, this method raises an exception.
Distribution identifiers let you use groups as distribution lists, by indicating which value in a multivalue property should be used when addressing the group. See Address Book Programming Guide for Mac for more detailed discussion.