Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jezzmemo committed Sep 15, 2017
1 parent cf24ef8 commit 4044106
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,19 @@ DemoAPIService.m
@implementation DemoViewController
- (void)viewDidLoad {
[super viewDidLoad];
[super viewDidLoad];
[self.apiService userDetailInfo:100];
[self.apiService userDetailInfo:100];
}
- (DemoAPIService*)apiService{
if (_apiService != nil) {
return _apiService;
}
_apiService = [[DemoAPIService alloc] init];
_apiService.serviceProtocol = self;
if (_apiService != nil) {
return _apiService;
}
_apiService = [[DemoAPIService alloc] init];
_apiService.serviceProtocol = self;
return _apiService;
}
#pragma mark - Network response
Expand Down

0 comments on commit 4044106

Please sign in to comment.