the db file is saved inside Documents folder for iOS. I use to open it when I’m working on it just to be sure everything is created as expected. You can use this awesome little tool to edit it http://sqlitebrowser.org/
The database (asume you are using ios simulator) is saved in simulator device so:
- Open Finder and click Go->go to folder
- That will open many devices if you are using simulator a lot. From there the “best” (read fastest) way to find your database is to search exact name example “test.db”, and it will popup somewhere deep in App Documents like this:
As database is saved as a part of your app, when you delete the app, database is also deleted, I use this method frequently when I need to “fake” new install and setup.
Hope it helps