Open Source: Library Allows Any Objective-C Object To Easily Be Saved To A Plist File

I have written about some excellent tutorials and libraries in the past such as this tutorial on using NSCoding and NSFileManager, and a library for simple data saving/loading.

This new library takes a different approach, and it’s one that you may get a lot of mileage from.

This open source library acts as an NSCoding replacement, and when added to your project automatically adds methods to create an NSDictionary representation for easy saving/loading to a .PLIST file.

Also supported is saving of various Cocoa collection types and structures.

The library is Auto Magic Coding (AMC) from Stephan Generalov.

On the Github page here you’ll find full instructions along with further information on collections and structures that can be saved.

A very handy library for persisting object data.

©2011 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail


Leave a Reply

Your email address will not be published. Required fields are marked *