ABCopyArrayOfAllGroups(_:)
Returns an array of all the groups in the Address Book database.
Declaration
func ABCopyArrayOfAllGroups(_ addressBook: ABAddressBookRef!) -> Unmanaged<CFArray>!Parameters
- addressBook:
The address book for the logged-in user.
Return Value
An array of ABGroup objects representing all the groups in the Address Book database. If the database doesn’t contain any groups, the function returns an empty array. You are responsible for releasing this object.
See Also
Groups
ABGroupAddGroup(_:_:)ABGroupAddMember(_:_:_:)ABGroupCopyArrayOfAllMembers(_:)ABGroupCopyArrayOfAllSubgroups(_:)ABGroupCopyDistributionIdentifier(_:_:_:)ABGroupCopyParentGroups(_:)ABGroupCreate()ABGroupCreateSearchElement(_:_:_:_:_:)ABGroupRemoveGroup(_:_:)ABGroupRemoveMember(_:_:_:)ABGroupSetDistributionIdentifier(_:_:_:_:)