Posts Tagged ‘NSCoder’

Storing custom objects to disk on the iPhone

In this tutorial I will show you how you can store custom objects to disk on the iPhone. I will create a simple array containing custom Person objects. Then I will store the array to disk and afterwards load the array. The clue is to implement the NSCoding protocol in the Person class, or the [...]