0PricingLogin
Objective-C iOS Development for Legacy & Enterprise Apps · Lesson

Property Lists and Archiving

Learn to save and load simple data structures using NSUserDefaults, property lists, and NSKeyedArchiver.

Why Data Persistence?

When your app closes, all its in-memory data disappears. To keep user settings, game progress, or other important information, you need data persistence.

Data persistence means saving data to a permanent storage location, like a file on the device, so it can be retrieved later.

Understanding Property Lists

Property Lists (PLists) are a standard way for iOS apps to store structured data. They're XML or binary files that represent common data types.

  • Supported Types: NSString, NSNumber, NSDate, NSData, NSArray, NSDictionary.
  • PLists are great for small, hierarchical data like user preferences or configuration settings.

All lessons in this course

  1. Property Lists and Archiving
  2. Core Data Fundamentals
  3. SQLite Integration with FMDB
  4. Storing Preferences with NSUserDefaults
← Back to Objective-C iOS Development for Legacy & Enterprise Apps