---
title: CKSyncEngineAccountChangeType.signIn
framework: cloudkit
role: symbol
role_heading: Case
path: cloudkit/cksyncengineaccountchangetype/signin
---

# CKSyncEngineAccountChangeType.signIn

A change indicating a sign-in to an iCloud account.

## Declaration

```swift
case signIn
```

## Discussion

Discussion If your app has locally-stored data when CKSyncEngine notifies it about the device signing in to an iCloud account, perform one of the following actions: Keep the local data separate from any remote data Merge the local data with the account’s remote data Delete the local data Prompt the account’s owner to make the decision

## See Also

### Account change types

- [CKSyncEngineAccountChangeType.signOut](cloudkit/cksyncengineaccountchangetype/signout.md)
- [CKSyncEngineAccountChangeType.switchAccounts](cloudkit/cksyncengineaccountchangetype/switchaccounts.md)
