Created
May 17, 2017 09:45
-
-
Save synboo/99cd4d35d13f7b5a05a046d45c3b4daf to your computer and use it in GitHub Desktop.
Find CoreData's sqlite file location.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// http://stackoverflow.com/a/27461267/1837541 | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
let paths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true) | |
print(paths[0]) | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment