I'm having trouble with storing my NSMutableArray which holds some objects. Inside those objects there is also a NSMutableArray which holds also some objects.
For example: NSMutablearray "cars" --> NSObject "Porsche" ---> NSMutableArray "Parts" ---> NSObject "Tires"
And now i want to save the first Array "cars", so when i close the app and open it again, the array is still there. I read a few options - for example NSUserDefaults. I tried it, but it doesn't work.
Can someone help/teach me how to store a NSMutableArray like this?
Thanks
EDIT
If this is a duplicate, can someone show me how to do it?? Because i tried almost every Code i found on google. No code worked.