Where is the appropriate place to stare saved data from users in an iOS application? There doesn’t appear to be a particular place, according to the samples and tutorials I’ve seen.
The Locations sample project uses this path:
[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]
ButI’m not sure if that’s technically an app specific path, or if that’s somewhere else in the file system.
Also, I guess I could use a bit of a primer on how the iOS file system works from an App’s point of view.
NSUserDefaultsis where I’d start.From the docs: