iphone - I want to store a bunch of data in an array, for use in various different classes. How? -


So I have tried and tried it on and it worked for the most part, but its problems are. I have to start with it again. Can anybody tell me the best method that I have an array in my app which allows other sections to access, edit, delete items, and add new items?

Maybe you declare it as an instance variable in the app delititess So that it can be easily accessed to other sections

  YourAppDelegate * appDelegate = (YourAppDelegate *) [[UIApplication shared epicling] representative]; // and then app delegate. Variable    

Comments