This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | BOOL success; | |
| NSError *error; | |
| NSFileManager *fileManager = [NSFileManager defaultManager]; | |
| NSString *documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; | |
| NSString *filePath = [documentsDirectory stringByAppendingPathComponent:@"Data.txt"]; | |
| success = [fileManager fileExistsAtPath:filePath]; | |
| if (!success) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | UIAlertView *alert = [[UIAlertView alloc]initWithTitle: @"PeekaBoo" message:@"I see you" delegate:self cancelButtonTitle :@"Close" otherButtonTitles: nil]; | |
| [alert show]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | UIAlertView *alert = [[UIAlertView alloc]initWithTitle: @"PeekaBoo" message:@"I see you" delegate:self cancelButtonTitle :@"Close" otherButtonTitles: nil]; | |
| [alert show]; |