Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library Providing Automatic NSCoding Support For Your Objects

  •  
  •  
  •  
  •  
  •  

Yesterday I mentioned a library allowing you to easily serialize objects to JSON and XML and I’ve also posted a library providing an NSCoding replacement allowing you save/load objects from .Plist files.

Recently I received a tip about another library that allows you to easily save/load your objects with the NSCoder serialization libraries provided in the iOS SDK.

The library automatically adds support for NSCopying and NSCoding to any object without you needing to implement the initWithCoder, encodeWithCoder, and copyWithZone methods yourself.

The library is AutoCoding by Nick Lockwood and you can read more about the library, and download the code on Github here.

There are some adjustments you may have to make to your objects, but overall a very handy library.

Thanks to Tom for the tip.

Related Stuff

– Library Providing Easy NSObject To JSON/XML Serialization and Conversion To Parse PFObject
– Library Allows Any Objective-C Object To Easily Be Saved To A Plist File
– NSCoding And NSFileManager Tutorial For Easy File Saving
– iOS Developer Libraries Category


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments