![]() | The document “Untitled” could not be saved as “Untitled”. |
|
04 Jul 2012, 15:06
Gabriel Mometti (2 posts) |
hi,in the chapter that explain the save\open method for the shopping list app i have a problem: -(BOOL)writeToURL:(NSURL )absoluteURL oftype:(NSString *)typeName error:(NSError *)outError {
return[shoppingListArray writeToURL:absoluteURL atomically:YES]; -(BOOL)readFromURL:(NSURL )absoluteURL ofType:(NSString *)typeName error:(NSError *)outError { shoppingListArray = [[NSMutableArray alloc] initWithContentsOfURL:absoluteURL]; return YES; } but when i try to save the file as:”untitled” the system display: The document “Untitled” could not be saved as “Untitled”. can anyone help me? |
| You must be logged in to comment |

