mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Default store location #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamesbebbington on GitHub (Feb 1, 2016).
I'm in the process of transitioning to CoreStore from AERecord and have noticed that by default (on iOS at least), CoreStore is saving the DB in
…/Library/Application Support/whereas before my app had it in…/Documents/.Apple's Core Data Programming Guide sample code uses
.DocumentDirectory. Is CoreStore correct to useApplication Support?@JoeMatt commented on GitHub (Feb 1, 2016):
We actually got rejected and had to resubmit due to our sql location. User generated data can be in either location you mentioned but ingested data should use the Caches directory. So really it depends
@JohnEstropia commented on GitHub (Feb 2, 2016):
@fractious That depends on the nature of your store. Quoting "Where You Should Put Your App’s Files" section in the File System Programming Guide,
@JohnEstropia commented on GitHub (Feb 2, 2016):
By default, CoreStore uses the Application Support directory as SQLite files are assumed to be preferred as hidden from the user.
@jamesbebbington commented on GitHub (Feb 2, 2016):
Thanks guys, that makes sense.