replaced all printf with NSLog

This commit is contained in:
Diego Waxemberg
2015-01-09 16:56:17 -05:00
parent 600560d9e3
commit b7ccf57a2d
3 changed files with 15 additions and 15 deletions

View File

@@ -80,7 +80,7 @@
}
- (void)connectionTerminated:(long)errorCode {
printf("Connection terminated: %ld\n", errorCode);
NSLog(@"Connection terminated: %ld", errorCode);
UIAlertController* conTermAlert = [UIAlertController alertControllerWithTitle:@"Connection Terminated" message:@"The connection was terminated" preferredStyle:UIAlertControllerStyleAlert];
[conTermAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:^(UIAlertAction* action){
@@ -92,7 +92,7 @@
}
- (void) stageStarting:(char*)stageName {
printf("Starting %s\n", stageName);
NSLog(@"Starting %s", stageName);
dispatch_async(dispatch_get_main_queue(), ^{
NSString* lowerCase = [NSString stringWithFormat:@"%s in progress...", stageName];
NSString* titleCase = [[[lowerCase substringToIndex:1] uppercaseString] stringByAppendingString:[lowerCase substringFromIndex:1]];
@@ -127,11 +127,11 @@
}
- (void) displayMessage:(char*)message {
printf("Display message: %s\n", message);
NSLog(@"Display message: %s", message);
}
- (void) displayTransientMessage:(char*)message {
printf("Display transient message: %s\n", message);
NSLog(@"Display transient message: %s", message);
}
- (void)didReceiveMemoryWarning