1

I want to create a new custom property list in iphone applications.How to create in and how to load in iphone class.

Manikandan S
  • 11
  • 1
  • 2

1 Answers1

0

Load:

NSString *plistPath = [bundle pathForResource:kDefaultBookmarksPlistName
                            ofType:@"plist"];
NSArray *defaultBookmarks = [[NSArray alloc]
                          initWithContentsOfFile:plistPath];

For saving, see the NSArray docs and look up writeToFile

Sangram Shivankar
  • 3,535
  • 3
  • 26
  • 38
Nimrod
  • 5,168
  • 1
  • 25
  • 39