I have a custom object, a UIImageView subclass which has a few gestureRecognizer objects.
If I have a number of these objects stored in a
This blog post explains how to store an array of custom objects to disk using NSKeyedArchiver and read it back with NSKeyedUnarchiver:
http://www.cocoabuilder.com/archive/cocoa/240775-saving-nsarray-of-custom-objects.html
Apple also has a very helpful guide on the matter, the Archives and Serializations Programming Guide.