1

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

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.