I have 1 Linked list object and i want to use that object as for storing and retrieving through
any class for state maintenance in objective-c.
Is there any example for that?
I have 1 Linked list object and i want to use that object as
Share
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.
State maintenance? For any class in objective-c? Why not use NSMutableDictionary?
There’s a limit on what kinds of objects you’re allowed to use (e.g. NSSets are not allowed but NSArrays are), but you can then store that dictionary straight off into NSUserDefaults to preserve state across runs.
E.g.
to grab, then
to save.