Hi folks,
I have an app that need a fairly complicate key array/nsdictionary list that it uses to calculate other information. The data isn't large and it needs to be accessible from several classes.
I've been reading around and people have used several methods, a singleton class , EXTERN variables, and property list.
I think apple recommends using plist?
And I would write code to populate the plist with the array. Where do I put this code, in the application didFinishedLaunching? So the xml/plist gets written or rewritten every time the application is launched?
thanks.
I have an app that need a fairly complicate key array/nsdictionary list that it uses to calculate other information. The data isn't large and it needs to be accessible from several classes.
I've been reading around and people have used several methods, a singleton class , EXTERN variables, and property list.
I think apple recommends using plist?
And I would write code to populate the plist with the array. Where do I put this code, in the application didFinishedLaunching? So the xml/plist gets written or rewritten every time the application is launched?
thanks.