Advertisement
Guest User

Untitled

a guest
Jul 17th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (![fileManager fileExistsAtPath:destPath]) {
  2.     NSString *sourcePath = [[NSBundle mainBundle] pathForResource:@"dilsecimi" ofType:@"plist"];
  3.     NSError *error = nil;
  4.     [fileManager copyItemAtPath:sourcePath toPath:destPath error:&error];
  5.  
  6.     if(error) {
  7.         NSLog(@"Error: %@", error);
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement