Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (![fileManager fileExistsAtPath:destPath]) {
- NSString *sourcePath = [[NSBundle mainBundle] pathForResource:@"dilsecimi" ofType:@"plist"];
- NSError *error = nil;
- [fileManager copyItemAtPath:sourcePath toPath:destPath error:&error];
- if(error) {
- NSLog(@"Error: %@", error);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement