Fixed clang_format_code

pull/19787/head
Tony Lu 5 years ago
parent 36af2bcce2
commit 2aeb7dc28f
  1. 1
      src/objective-c/examples/tvOS-sample/tvOS-sample/AppDelegate.m
  2. 7
      src/objective-c/examples/tvOS-sample/tvOS-sample/ViewController.m
  3. 1
      src/objective-c/examples/tvOS-sample/tvOS-sample/main.m
  4. 1
      src/objective-c/examples/watchOS-sample/WatchKit-Extension/ExtensionDelegate.h
  5. 1
      src/objective-c/examples/watchOS-sample/WatchKit-Extension/ExtensionDelegate.m
  6. 1
      src/objective-c/examples/watchOS-sample/WatchKit-Extension/InterfaceController.h
  7. 8
      src/objective-c/examples/watchOS-sample/WatchKit-Extension/InterfaceController.m
  8. 1
      src/objective-c/examples/watchOS-sample/watchOS-sample/AppDelegate.m
  9. 1
      src/objective-c/examples/watchOS-sample/watchOS-sample/ViewController.m
  10. 1
      src/objective-c/examples/watchOS-sample/watchOS-sample/main.m

@ -37,10 +37,10 @@
- (void)viewDidLoad {
[super viewDidLoad];
GRPCMutableCallOptions *options = [[GRPCMutableCallOptions alloc] init];
_options = options;
_service = [[RMTTestService alloc] initWithHost:@"grpc-test.sandbox.googleapis.com"
callOptions:_options];
}
@ -49,7 +49,7 @@
RMTSimpleRequest *request = [RMTSimpleRequest message];
request.responseSize = 100;
GRPCUnaryProtoCall *call =
[_service unaryCallWithMessage:request responseHandler:self callOptions:nil];
[_service unaryCallWithMessage:request responseHandler:self callOptions:nil];
[call start];
}
@ -62,4 +62,3 @@
}
@end

@ -24,4 +24,3 @@ int main(int argc, char* argv[]) {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

@ -21,4 +21,3 @@
@interface ExtensionDelegate : NSObject<WKExtensionDelegate>
@end

@ -22,4 +22,3 @@
@interface InterfaceController : WKInterfaceController
@end

@ -36,12 +36,12 @@
- (void)awakeWithContext:(id)context {
[super awakeWithContext:context];
// Configure interface objects here.
GRPCMutableCallOptions *options = [[GRPCMutableCallOptions alloc] init];
_options = options;
_service = [[RMTTestService alloc] initWithHost:@"grpc-test.sandbox.googleapis.com"
callOptions:_options];
}
@ -50,7 +50,7 @@
RMTSimpleRequest *request = [RMTSimpleRequest message];
request.responseSize = 100;
GRPCUnaryProtoCall *call =
[_service unaryCallWithMessage:request responseHandler:self callOptions:nil];
[_service unaryCallWithMessage:request responseHandler:self callOptions:nil];
[call start];
}

@ -24,4 +24,3 @@ int main(int argc, char* argv[]) {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

Loading…
Cancel
Save