over 7 years ago
Method to get a value from plist
NSString *path = [[NSBundle mainBundle] pathForResource:@"PlistX" ofType:@"plist"]; NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path]; int number = [[[[dict objectForKey:@"One"] objectForKey:@"Two"]objectForKey:@"Three"] intValue]; NSLog(@"%d",number);
Writing to plist
NSDictionary *dict; NSData *data = [NSPropertyListSerialization dataWithPropertyList:dict format:NSPropertyListXMLFormatv10 options:0 error:&error]; [data writeToFile:self.saveToPath atomically:YES];
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)