react-native-navigation的迁移库

RNNTopTabOptions.m 429B

12345678910111213141516171819
  1. #import "RNNTopTabOptions.h"
  2. #import "RNNRootViewController.h"
  3. @implementation RNNTopTabOptions
  4. - (void)applyOn:(RNNRootViewController*)viewController {
  5. if (self.title) {
  6. [viewController.topTabsViewController viewController:viewController changedTitle:self.title];
  7. }
  8. }
  9. -(void)mergeWith:(NSDictionary *)otherOptions {
  10. for (id key in otherOptions) {
  11. [self setValue:[otherOptions objectForKey:key] forKey:key];
  12. }
  13. }
  14. @end