Where should I put game data in iOS
In a game I would like to have game constant like items information its image, title, detail, but I don't know where I shou开发者_StackOverflow中文版ld keep this kind of information. I read some about core data, but don't know if this is a proper way to keep data like this and if core data is the answer where should I put code to initialize these data because I need to initialize it only once.
https://podcasts.apple.com/us/podcast/developing-apps-for-ios-sd/id395631522
^ that should help. However this is on Itunes. If it isn't pulling up Itunes open Itunes, search "IOS" and click on "Developing Apps for IOS" (SD or HD it doesn't matter) these videos are created by Stanford University. Video 12 should help you with this problem
精彩评论