Here is the source for my project.
http://www.mediafire.com/?1koujayketou9xo
I solved the Passing of the text value issue that was one of the issues addressed in this post. Now i have isolated why my save system isn't working and whould like input on that.
in the class homeworld.m:
the line [saveViewController saveGame] isn't working.
in SaveViewController.m:
http://www.mediafire.com/?1koujayketou9xo
I solved the Passing of the text value issue that was one of the issues addressed in this post. Now i have isolated why my save system isn't working and whould like input on that.
in the class homeworld.m:
Code:
- (IBAction)tapSave:(id)sender {
//NSLog(@"test");
[saveViewController saveGame];
//[saveViewController test];
//NSUserDefaults *SaveDefaults = [NSUserDefaults
// standardUserDefaults];
//NSLog(@"%i",[SaveDefaults integerForKey:@"SaveCount"]);
}
in SaveViewController.m:
Code:
-(void)saveGame{
NSLog(@"test");
[charData saveChar];
}/code]
the problem is somewhere inbetween this. it dosent log the test.
SaveViewController.h is outleted to saveViewController in Homeworld.h.