//
// LeveyTabBarControllerViewController.h
// LeveyTabBarController
//
// Created by Levey Zhu on 12/15/10.
// Copyright 2010 VanillaTech. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LeveyTabBar.h"
@class UITabBarController;
@protocol LeveyTabBarControllerDelegate;
@interface LeveyTabBarController : UIViewController <LeveyTabBarDelegate>
{
LeveyTabBar *_tabBar;
UIView *_containerView;
UIView *_transitionView;
id<LeveyTabBarControllerDelegate> _delegate;
NSMutableArray *_viewControllers;
NSUInteger _selectedIndex;
BOOL _tabBarTransparent;
BOOL _tabBarHidden;
NSInteger animateDriect;
}
@property(nonatomic, copy) NSMutableArray *viewControllers;
@property(nonatomic, readonly) UIViewController *selectedViewController;
@property(nonatomic) NSUInteger selectedIndex;
// Apple is readonly
@property (nonatomic, readonly) LeveyTabBar *tabBar;
@property(nonatomic,assign) id<LeveyTabBarControllerDelegate> delegate;
// Default is NO, if set to YES, content will under tabbar
@property (nonatomic) BOOL tabBarTransparent;
@property (nonatomic) BOOL tabBarHidden;
@property(nonatomic,assign) NSInteger animateDriect;
- (id)initWithViewControllers:(NSArray *)vcs imageArray:(NSArray *)arr;
- (void)hidesTabBar:(BOOL)yesOrNO animated:(BOOL)animated;
- (void)hidesTabBar:(BOOL)yesOrNO animated:(BOOL)animated driect:(NSInteger)driect;
// Remove the viewcontroller at index of viewControllers.
- (void)removeViewControllerAtIndex:(NSUInteger)index;
// Insert an viewcontroller at index of viewControllers.
- (void)insertViewController:(UIViewController *)vc withImageDic:(NSDictionary *)dict atIndex:(NSUInteger)index;
@end
@protocol LeveyTabBarControllerDelegate <NSObject>
@optional
- (BOOL)tabBarController:(LeveyTabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController;
- (void)tabBarController:(LeveyTabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController;
@end
@interface UIViewController (LeveyTabBarControllerSupport)
@property(nonatomic, readonly) LeveyTabBarController *leveyTabBarController;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
uitabbarcontroller的自定义控件
共35个文件
m:6个
h:5个
png:4个
4星 · 超过85%的资源 需积分: 3 17 下载量 86 浏览量
2012-08-10
17:43:14
上传
评论
收藏 91KB ZIP 举报
温馨提示
一个自定义的uitabbarcontroller,可以自动调高,改变图片,背景颜色等
资源推荐
资源详情
资源评论
收起资源包目录
levey-LeveyTabBarController-57e120d.zip (35个子文件)
levey-LeveyTabBarController-57e120d
tabbarbg.png 3KB
leveytabbarcontroller.pub 409B
3.png 3KB
LeveyTabBarDemoViewController.xib 7KB
LeveyTabBarDemo.xcodeproj
project.xcworkspace
contents.xcworkspacedata 160B
xcuserdata
qq.xcuserdatad
UserInterfaceState.xcuserstate 20KB
Levey.xcuserdatad
UserInterfaceState.xcuserstate 17KB
project.pbxproj 15KB
xcuserdata
qq.xcuserdatad
xcschemes
LeveyTabBarDemo.xcscheme 3KB
xcschememanagement.plist 487B
xcdebugger
Breakpoints.xcbkptlist 91B
Levey.xcuserdatad
xcschemes
LeveyTabBarDemo.xcscheme 3KB
xcschememanagement.plist 487B
xcdebugger
Breakpoints.xcbkptlist 91B
Levey.mode1v3 41KB
Levey.pbxuser 15KB
leveytabbarcontroller 2KB
MainWindow.xib 20KB
main.m 361B
LeveyTabBarDemo-Info.plist 909B
README.mdown 73B
LeveyTabBarDemo_Prefix.pch 199B
.DS_Store 6KB
Classes
LeveyTabBarController.h 2KB
LeveyTabBar.m 4KB
LeveyTabBarDemoAppDelegate.h 541B
FirstViewController.m 365B
SecondViewController.m 2KB
FirstViewController.h 234B
LeveyTabBarDemoAppDelegate.m 6KB
LeveyTabBarController.m 9KB
SecondViewController.h 236B
LeveyTabBar.h 921B
1.png 3KB
2.png 3KB
共 35 条
- 1
资源评论
- gaoyp2012-08-13不错。感觉还可以再细化。
xinlingdedahai
- 粉丝: 0
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功