iOS 导航条:推terPagingViewer

jopen 10年前

推terPagingViewer 是类似 推ter 的导航条,页面查看器。

Easy to drop into your project. 类似UITabBarController的用法,非常方便。

XH推terPaggingViewer *推terPaggingViewer = [[XH推terPaggingViewer alloc] init];      NSMutableArray *viewControllers = [[NSMutableArray alloc] initWithCapacity:7];    NSArray *titles = @[@"Home", @"Friend", @"曾宪华", @"News", @"Viewer", @"Framework", @"Pagging"];    [titles enumerateObjectsUsingBlock:^(NSString *title, NSUInteger idx, BOOL *stop) {      XHTableViewController *tableViewController = [[XHTableViewController alloc] init];      tableViewController.title = title;      [viewControllers addObject:tableViewController];  }];      推terPaggingViewer.viewControllers = viewControllers;    推terPaggingViewer.didChangedPageCompleted = ^(NSInteger cuurentPage, NSString *title) {      NSLog(@"cuurentPage : %ld on title : %@", (long)cuurentPage, title);  };    self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:推terPaggingViewer];

iOS 导航条:推terPagingViewer

项目主页:http://www.open-open.com/lib/view/home/1404914234669