Skip to content

Commit

Permalink
Merge pull request #16 from BB-fat/fix/spelling_mistakes
Browse files Browse the repository at this point in the history
fix:appDidFinishLaunch 拼写错误
  • Loading branch information
LeoMobileDeveloper authored Jun 24, 2020
2 parents b4943fb + cb01489 commit 915b7c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Demo/Modules/PayService.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ @implementation PayService
return [[PayService alloc] init];
}

- (void)appDidFinishLuanch:(QTAppDidLaunchEvent *)event{
NSLog(@"PayService: appDidFinishLuanch");
- (void)appDidFinishLaunch:(QTAppDidLaunchEvent *)event{
NSLog(@"PayService: appDidFinishLaunch");
}

@end
4 changes: 2 additions & 2 deletions Demo/Modules/UserService.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ - (void)registerEventObserver{
return [UserService shared];
}

- (void)appDidFinishLuanch:(QTAppDidLaunchEvent *)event{
NSLog(@"UserService: appDidFinishLuanch");
- (void)appDidFinishLaunch:(QTAppDidLaunchEvent *)event{
NSLog(@"UserService: appDidFinishLaunch");
[[UserService shared] registerEventObserver];
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/AppModule/QTAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ @implementation QTAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
QTAppDidLaunchEvent * event = [[QTAppDidLaunchEvent alloc] init];
event.launchOptions = launchOptions;
[self _sendEvent:event sel:@selector(appDidFinishLuanch:)];
[self _sendEvent:event sel:@selector(appDidFinishLaunch:)];
QTAppAllModuleInitEvent * initEvent = [[QTAppAllModuleInitEvent alloc] init];
[self _sendEvent:initEvent sel:@selector(appAllModuleInit:)];
return YES;
Expand Down
2 changes: 1 addition & 1 deletion Sources/AppModule/QTAppModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#pragma mark - 常用

/// 启动
- (void)appDidFinishLuanch:(QTAppDidLaunchEvent *)event;
- (void)appDidFinishLaunch:(QTAppDidLaunchEvent *)event;

/// App全部的模块已初始化
- (void)appAllModuleInit:(QTAppAllModuleInitEvent *)event;
Expand Down

0 comments on commit 915b7c7

Please sign in to comment.