JPTabViewController est un composant graphique permettant de réaliser sur iOS un Tab Fragment Android.
Simplicité d'intégration : initialisation avec un tableau de controllers.
#import "JPTabViewController.h"
UIViewController *redController = [[UIViewController alloc] init];
[redController setTitle:@"RED"];
[[redController view] setBackgroundColor:[UIColor redColor]];
UIViewController *greenController = [[UIViewController alloc] init];
[greenController setTitle:@"GREEN"];
[[greenController view] setBackgroundColor:[UIColor greenColor]];
UIViewController *blueController = [[UIViewController alloc] init];
[blueController setTitle:@"BLUE"];
[[blueController view] setBackgroundColor:[UIColor blueColor]];
JPTabViewController *tabViewController = [[JPTabViewController alloc] initWithControllers:@[redController, greenController, blueController]];
JPTabViewControllerをiOSタブアンドロイドフラグメントを達成するためのグラフィカルコンポーネントです。
統合の容易さ:コントローラの配列を初期化。
#import "JPTabViewController.h"
UIViewController *redController = [[UIViewController alloc] init];
[redController setTitle:@"RED"];
[[redController view] setBackgroundColor:[UIColor redColor]];
UIViewController *greenController = [[UIViewController alloc] init];
[greenController setTitle:@"GREEN"];
[[greenController view] setBackgroundColor:[UIColor greenColor]];
UIViewController *blueController = [[UIViewController alloc] init];
[blueController setTitle:@"BLUE"];
[[blueController view] setBackgroundColor:[UIColor blueColor]];
JPTabViewController *tabViewController = [[JPTabViewController alloc] initWithControllers:@[redController, greenController, blueController]];
JPTabViewController is an iOS graphical component for achieving a Android Tab Fragment.
Easy to use: initialization with an array of controllers.
#import "JPTabViewController.h"
UIViewController *redController = [[UIViewController alloc] init];
[redController setTitle:@"RED"];
[[redController view] setBackgroundColor:[UIColor redColor]];
UIViewController *greenController = [[UIViewController alloc] init];
[greenController setTitle:@"GREEN"];
[[greenController view] setBackgroundColor:[UIColor greenColor]];
UIViewController *blueController = [[UIViewController alloc] init];
[blueController setTitle:@"BLUE"];
[[blueController view] setBackgroundColor:[UIColor blueColor]];
JPTabViewController *tabViewController = [[JPTabViewController alloc] initWithControllers:@[redController, greenController, blueController]];