Commit 99b6ead7 authored by Tobias's avatar Tobias Committed by Felix Paul Kühne
Browse files

fix unnecessary verbose logging

parent 2241a53e
...@@ -121,19 +121,22 @@ ...@@ -121,19 +121,22 @@
- (IBAction)playPausePressed { - (IBAction)playPausePressed {
self.isPlaying = !self.isPlaying; self.isPlaying = !self.isPlaying;
[WKInterfaceController openParentApplication:@{@"name": @"playpause"} reply:^(NSDictionary *replyInfo, NSError *error) { [WKInterfaceController openParentApplication:@{@"name": @"playpause"} reply:^(NSDictionary *replyInfo, NSError *error) {
NSLog(@"playpause %@",replyInfo); if (error)
NSLog(@"playpause failed with reply %@ error: %@",replyInfo,error);
}]; }];
} }
- (IBAction)skipForward { - (IBAction)skipForward {
[WKInterfaceController openParentApplication:@{@"name": @"skipForward"} reply:^(NSDictionary *replyInfo, NSError *error) { [WKInterfaceController openParentApplication:@{@"name": @"skipForward"} reply:^(NSDictionary *replyInfo, NSError *error) {
NSLog(@"skipForward %@",replyInfo); if (error)
NSLog(@"skipForward failed with reply %@ error: %@",replyInfo,error);
}]; }];
} }
- (IBAction)skipBackward { - (IBAction)skipBackward {
[WKInterfaceController openParentApplication:@{@"name": @"skipBackward"} reply:^(NSDictionary *replyInfo, NSError *error) { [WKInterfaceController openParentApplication:@{@"name": @"skipBackward"} reply:^(NSDictionary *replyInfo, NSError *error) {
NSLog(@"skipBackward %@",replyInfo); if (error)
NSLog(@"skipBackward failed with reply %@ error: %@",replyInfo,error);
}]; }];
} }
......
...@@ -50,7 +50,6 @@ typedef enum { ...@@ -50,7 +50,6 @@ typedef enum {
- (void)awakeWithContext:(id)context { - (void)awakeWithContext:(id)context {
[super awakeWithContext:context]; [super awakeWithContext:context];
NSLog(@"%s",__PRETTY_FUNCTION__);
WKInterfaceDevice *currentDevice = WKInterfaceDevice.currentDevice; WKInterfaceDevice *currentDevice = WKInterfaceDevice.currentDevice;
CGRect screenRect = currentDevice.screenBounds; CGRect screenRect = currentDevice.screenBounds;
...@@ -103,7 +102,6 @@ typedef enum { ...@@ -103,7 +102,6 @@ typedef enum {
- (void)willActivate { - (void)willActivate {
// This method is called when watch view controller is about to be visible to user // This method is called when watch view controller is about to be visible to user
[super willActivate]; [super willActivate];
NSLog(@"%s",__PRETTY_FUNCTION__);
if (self.needsUpdate) { if (self.needsUpdate) {
[self updateData]; [self updateData];
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment