I want to save a boolean into a file and also I want to know how you would retrieve it again. I mainly want to use this for when the iPhone terminates and finishes launching in their respected methods.
An alternative to manually saving to a file is to use NSUserDefaults.
To save:
[[NSUserDefaults standardUserDefaults] setBool:myBool forKey:@"myBool"];
To load:
myBool = [[NSUserDefaults standardUserDefaults] boolForKey:@"myBool"];