diff --git a/README.md b/README.md index b4713be..8645b75 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ CocoaPods: self.thirdViewManger.viewMangerInfosBlock = [self.viewModel smk_viewModelWithViewMangerBlockOfInfos:@{@"info" : @"viewManger"}]; // 中介者传值 - SMKAbstractMediator *mediator = [SMKAbstractMediator mediatorWithViewModel:self.viewModel viewManger:self.thirdViewManger]; + SMKMediator *mediator = [SMKMediator mediatorWithViewModel:self.viewModel viewManger:self.thirdViewManger]; self.thirdViewManger.smk_mediator = mediator; self.viewModel.smk_mediator = mediator;