Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [self dismissViewControllerAnimated:YES completion:^{
- FlightRecorder *fl = [[FlightRecorder alloc] init];
- [fl endBookmarkProcessWithBookmarkCollection: dict];
- }
- - (void)endBookmarkProcessWithBookmarkCollection: (NSDictionary *)dict {
- NSString *compiledText = @"Random Airline";
- NSString *string = [NSString stringWithFormat: @"nMiles: %.2fnFlight: %@nDate: %@", [[dict objectForKey: @"miles"] floatValue], compiledText, [[NSUserDefaults standardUserDefaults] objectForKey:@"tempD"]];
- self.bkBookmarkAlertView = [[UIAlertView alloc] initWithTitle:@"Confirmation" message:string delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Add", nil];
- [bkBookmarkAlertView show];
- }
Add Comment
Please, Sign In to add comment