Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Boolean Problemsis a discussion within the
iPhone / iPod Touch SDK | Development Discussionforums, a part of the
3rd Party Apps For iPhone | iPod Touchsection;
Hi i need help to read and edit a boolean value in object c. how can i do that? can you take me an example ?...
12-30-2011, 08:12 AM #1Boolean Problems
Hi i need help to read and edit a boolean value in object c. how can i do that? can you take me an example ?
12-30-2011, 08:26 AM #2
Where are you trying to read it from? a PLIST?? UserDefaults?? Blankspace??
// From user defaults BOOL someBool = [[NSUserDefaults standardUserDefaults] objectForKey:<someKey>]; // From plist NSDictionary *plist = [NSDictionary dictionaryWithContentsOfFile:<filePath>]; BOOL someBool = [plist objectForKey:<someKey>];
Last edited by truehybridx; 12-30-2011 at 08:29 AM.Get the latest info for NoAccSplash Here
Currently it should work on iOS 4.x - 6.x
If you'd like to help extend its functionality, the source is also available.
01-03-2012, 03:54 AM #3
i have try it
check = [filePath objectForKey:@"Test"];
Test.text = check;
how can i fix that?