Contents

ACAccountStoreSaveCompletionHandler

Specifies a handler to call when an Accounts database operation is complete.

Declaration

typealias ACAccountStoreSaveCompletionHandler = (Bool, (any Error)?) -> Void

Discussion

The completion handler parameters are:

success

A Boolean value indicating whether the operation is successful. true if the operation is successful; otherwise false.

error

An error, if one occurred.

See Also

Saving Accounts