Take a look at this post: [Encoding Structs] (Structs? on classes only in NSCoding), and see if you can benefit from it.