this post was submitted on 26 Sep 2024
3 points (100.0% liked)
iOS Programming
206 readers
1 users here now
Discussion of all things related to developing apps for iOS. Including but not limited to swift, objective-c, c++, and Xcode.
Other Communities of interest: [email protected] [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds like your looking for Keychains. Keychains act as a secure key-value store that can be synced via iCloud. This would be suitable for storing login credentials, or authorization tokens. However if you need to sync less secure data, I’d recommend looking at NSUbiquitousKeyValueStore which is another key-value store without the security of a Keychain. Note however, the storage for
NSUbiquitousKeyValueStore
is limited to 1mb. For more than that, you’d need to implement CloudKit.