tags:

views:

54

answers:

1

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

A: 

Load:

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

For saving, see the NSArray docs and look up writeToFile

Nimrod