iphone开发基础控件UITabBar及UITabBarController

时间:2015-10-30 15:02:23
【文件属性】:
文件名称:iphone开发基础控件UITabBar及UITabBarController
文件大小:547KB
文件格式:RAR
更新时间:2015-10-30 15:02:23
iphone 控件 UITabBar 基础 初学 iphone中的基础控件UITabBar及UITabBarController,适合初学者,主要学习UITabBarController的常用属性设置及其点击事件。 1、UITabBarController是一个容器,一般作为整个程序的rootViewController,容器包含多个ViewController(页面),每个ViewController(页面)对应一个Tab,Tab集中在UITabBar上面显示。 2、UITabBarController容器的属性viewControllers(数组)就是管理ViewController(页面)的,将ViewController(页面)放入数组中,赋值给UITabBarController.viewControllers。 3、tabBarItem属性来改变tabbar上对应的tab显示内容,tabBarItem包含文字和图片,可以不设置图片,例如UITabBarItem *item = [[UITabBarItem alloc] initWithTitle:@"Second" image:nil tag:1]。 4、UITabBar上最多可以显示5个Tab,当我们往UITabBarController中添加超过的viewController超过5个时候,最后一个一个就会自动moreNavigationController
【文件预览】:
UITabBar
----.DS_Store(6KB)
----Classes()
--------ViewControllerOne.h(235B)
--------ViewControllerTwo.h(235B)
--------ViewControllerThree.m(871B)
--------UITabBarAppDelegate.h(486B)
--------ViewControllerOne.m(859B)
--------ViewControllerTwo.m(859B)
--------UITabBarViewController.h(477B)
--------UITabBarViewController.m(4KB)
--------UITabBarAppDelegate.m(624B)
--------ViewControllerThree.h(239B)
----3.png(2KB)
----main.m(363B)
----MainWindow.xib(9KB)
----1.png(2KB)
----2.png(2KB)
----UITabBar_Prefix.pch(185B)
----UITabBarViewController.xib(6KB)
----UITabBar-Info.plist(909B)
----build()
--------._UITabBar.build(4KB)
--------Debug-iphonesimulator()
--------UITabBar.build()
----UITabBar.xcodeproj()
--------chenshaohong.pbxuser(9KB)
--------project.pbxproj(14KB)
--------chenshaohong.mode1v3(40KB)

网友评论

  • 好早的资源,我导入现在的XCODE,跑不出效果
  • 比较简单的东西,容易理解
  • 比较适合新手学习
  • 比较适合初学者
  • 版本有点老
  • 适合初学者。。。
  • 很简单,通俗易通
  • 比较适合初学者使用
  • 很适合新手
  • 适合新手,谢谢。。
  • 对于我这个初学者还是挺好的,有些收获~
  • 比较适合初学者使用 .
  • 比较适合初学者使用