ns string * plist path =[[ns bundle main bundle]path for resource:@ " file name " of type:@ " plist "];
//如果plist的結構是字典,則讀取NSDictionary。
ns dictionary * dictionary =[[ns dictionary alloc]initwithcontentsofile:plist path];
//如果plist是壹個數組,則讀取壹個NSArray。
NSArray * array =[[NSArray alloc]initwithcontentsofile:plist path];