My app takes data from CLLocation and saves it into a db via CoreData. Question is can I view the contents of the db via a GUI?
I’ve searched around in Xcode and Instruments but no luck so far.
(Prferably without resorting to command line sql!!)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use UITableView with fetchedResultsController, it would even give you sorting for free.
Another way, that is not free, but let’s you see and edit your store is Core Data Editor.
http://christian-kienle.de/CoreDataEditor
If you want to get the store from your Device,you can find it (usually) in Documents folder. If it is Jailbreaken, you can use iExplorer to browse your iPhone file system.Find your app folder there, documents,and very likely that your sql is there.