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

@ -25,4 +25,3 @@
@implementation AppDelegate @implementation AppDelegate
@end @end

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

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

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

@ -21,4 +21,3 @@
@implementation ExtensionDelegate @implementation ExtensionDelegate
@end @end

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

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

@ -25,4 +25,3 @@
@implementation AppDelegate @implementation AppDelegate
@end @end

@ -25,4 +25,3 @@
@implementation ViewController @implementation ViewController
@end @end

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

Loading…
Cancel
Save