Hi there.
I have a plist which has some boolean values with checkboxes. I am trying to edit those values in xcode but dont know how to do it.
Currently i have this code
Code:
NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath];
NSMutableDictionary *anotherDict = [dict objectForKey:@"Address"];
[capabilities setValue:@"0" forKey:@"MyValue"];
[capabilities writeToFile:plistPath atomically:YES];
[dict release];
but the problem is when i use the above code, the value in the plist changed to 0 and rightly so, instead of checkbox getting unchecked.
I simply want to uncheck the boolean value in plist using xcode.
Any suggestions??