Contents

remove(_:error:)

Removes an ABPerson or ABGroup record from the Address Book database.

Declaration

func remove(_ record: ABRecord!, error: ()) throws

Parameters

  • record:

    The record to be removed.

  • error:

    A pointer to an error object that is set to an NSError instance if an error occurs.

Discussion

If record is nil, this method raises an exception. Your changes are not committed until you call the save() method.

See Also

Adding and Removing Records