Release 0.1.0
This commit is contained in:
1 parent
fae05a1709
commit
c8bd9b7435
230 files changed
+17003
-15
No files matched your search
@@ -7,12 +7,15 @@
|
||||
//
|
||||
|
||||
#import "TabBarPickerAppDelegate.h"
|
||||
#import "TabBarPickerViewController.h"
|
||||
|
||||
@implementation TabBarPickerAppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
// Override point for customization after application launch.
|
||||
TabBarPickerViewController * controller = [[TabBarPickerViewController alloc] init];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
#import "TabBarPickerViewController.h"
|
||||
#import <TabBarPicker/TabBarPicker.h>
|
||||
|
||||
@interface TabBarPickerViewController ()
|
||||
|
||||
@@ -14,6 +15,39 @@
|
||||
|
||||
@implementation TabBarPickerViewController
|
||||
|
||||
|
||||
- (instancetype) init {
|
||||
self = [super init];
|
||||
|
||||
if (self) {
|
||||
|
||||
TabBarSubItem *subItem1 = [TabBarSubItem tabBarSubItemWithName:@"Peppe"];
|
||||
TabBarSubItem *subItem2 = [TabBarSubItem tabBarSubItemWithName:@"Peppe1"];
|
||||
TabBarSubItem *subItem3 = [TabBarSubItem tabBarSubItemWithName:@"Peppe2"];
|
||||
TabBarSubItem *subItem4 = [TabBarSubItem tabBarSubItemWithName:@"Peppe3"];
|
||||
TabBarSubItem *subItem5 = [TabBarSubItem tabBarSubItemWithName:@"Peppe4"];
|
||||
TabBarSubItem *subItem6 = [TabBarSubItem tabBarSubItemWithName:@"Peppe5"];
|
||||
TabBarSubItem *subItem7 = [TabBarSubItem tabBarSubItemWithName:@"Peppe6"];
|
||||
|
||||
|
||||
TabBarItem *item1 = [[TabBarItem alloc] initWithSubItems:@[subItem1,subItem2,subItem3,subItem4,subItem5,subItem6,subItem7]];
|
||||
[item1 setItemName:@"PeppeItem"];
|
||||
|
||||
TabBarItem *item2 = [[TabBarItem alloc] initWithSubItems:@[subItem1,subItem2,subItem3,subItem4,subItem5,subItem6,subItem7]];
|
||||
[item2 setItemName:@"PeppeItem1"];
|
||||
|
||||
TabBarPicker *tabbar = [[TabBarPicker alloc] initWithTabBarItems:@[item1,item2] withSize:CGSizeMake(400, 400) forPosition:TabBarPickerPositionBottom];
|
||||
|
||||
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) loadView {
|
||||
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
Reference in new issue
Block a user