Created
November 4, 2011 01:19
-
-
Save ejknapp/1338428 to your computer and use it in GitHub Desktop.
Words App saveData method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)saveData | |
{ | |
NSURL *documentsDirectory = [self applicationDocumentsDirectory]; | |
NSURL *dataFilePath = [documentsDirectory URLByAppendingPathComponent:@"wordData.plist"]; | |
[self.wordsByLetter writeToURL:dataFilePath atomically:YES]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment