Добрый день, изучаю iOS^ и сейчас пытаюсь засунуть значение в Plist файл но ничего не выходит.
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent:@"test.plist"];
NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath];
[plistDict setValue:@"over" forKey:@"over"];
[plistDict writeToFile:finalPath atomically: YES];
NSLog(@"the value is %@",plistDict);
Вот мой код, подскажите что тут неверно ??