Answer the question
In order to leave comments, you need to log in
How can NSIntegers be written to a file?
There is an array Y, it contains objects X's with a field @property(nonatomic, assign) NSInteger *num;
, you need to selectively save these nums to a file so that you can load them into another array when loading the program!
How to do it?
Answer the question
In order to leave comments, you need to log in
1. through NSNumber drive into NSArray and save it to plist file
2. ... - convert to JSON and save to file
Convert to numbers of the required type (int, double) and save.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question