Skip to content
Snippets Groups Projects
Commit 5a3c6389 authored by Makarand Dharmapurikar's avatar Makarand Dharmapurikar
Browse files

Added braces around _service

parent abd285ae
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,9 @@ static NSString * const kHostAddress = @"localhost:50051";
@end
@implementation GetFeatureViewController
RTGRouteGuide *_service;
@implementation GetFeatureViewController {
RTGRouteGuide *_service;
}
- (void)execRequest {
void (^handler)(RTGFeature *response, NSError *error) = ^(RTGFeature *response, NSError *error) {
......@@ -146,8 +147,9 @@ RTGRouteGuide *_service;
@end
@implementation ListFeaturesViewController
RTGRouteGuide *_service;
@implementation ListFeaturesViewController {
RTGRouteGuide *_service;
}
- (void)execRequest {
RTGRectangle *rectangle = [RTGRectangle message];
......@@ -200,8 +202,9 @@ RTGRouteGuide *_service;
@end
@implementation RecordRouteViewController
RTGRouteGuide *_service;
@implementation RecordRouteViewController {
RTGRouteGuide *_service;
}
- (void)execRequest {
NSString *dataBasePath = [NSBundle.mainBundle pathForResource:@"route_guide_db"
......@@ -268,8 +271,9 @@ RTGRouteGuide *_service;
@end
@implementation RouteChatViewController
RTGRouteGuide *_service;
@implementation RouteChatViewController {
RTGRouteGuide *_service;
}
- (void)execRequest {
NSArray *notes = @[[RTGRouteNote noteWithMessage:@"First message" latitude:0 longitude:0],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment