How to view existing data in Core Data?

前端 未结 3 1886
心在旅途
心在旅途 2021-02-09 16:58

Well, may be this question is silly, but I couldn\'t find a way (except programmatically). I built a project (for iPhone OS 3.0) which uses Core Data. The xcdatamodel f

3条回答
  •  醉梦人生
    2021-02-09 17:27

    The sqllite file is stored within your applications documents folder. If you're running in the simulator, that location will look something like:

    ~/Library/Application Support/iPhone Simulator/User/Applications/1C69B544-510C-47E0-8758-701FB9E259F7/Documents/Locations.sqlite

    (Where the 1C69B544...701FB9E259F7 is a huge random number that's re-generated each time you reinstall the app into the simulator).

提交回复
热议问题