<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accounts",
  "identifier" : "/documentation/Accounts/ACAccountStoreSaveCompletionHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Accounts"
    ],
    "preciseIdentifier" : "c:@T@ACAccountStoreSaveCompletionHandler"
  },
  "title" : "ACAccountStoreSaveCompletionHandler"
}
-->

# ACAccountStoreSaveCompletionHandler

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

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

## Discussion

The completion handler parameters are:

- `success`: A Boolean value indicating whether the operation is successful. <doc://com.apple.documentation/documentation/Swift/true> if the operation is successful; otherwise <doc://com.apple.documentation/documentation/Swift/false>.
- `error`: An error, if one occurred.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)