My writeToFile is not saving my data to my .plist.
- (IBAction)clickBtnDone:(id) sender {
NSLog(@\"Done\");
if ([txtGroupName.text length] > 0) {
[s
How you have initialized groupPath? It should be the path of document directory, not the path of resource directory.
You should do something similar :
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *filePath = [documentsDirectory stringByAppendingPathComponent:FILE_NAME];
You can not edit the file that is present in the workspace.