iOS 中UI部分一些类的继承关系
2014-02-22 20:48
411 查看
数据类型一般是 NS 界面相关的一般是 UI
NS前缀类、函数归属于属于cocoa Fundation基础类库,其"NS”的由来据说是这样的:乔布斯被苹果开除后,创立了NeSt公司,而cocoa Fundation基础类库就是出自于NeST公司,NeST中的"NS"被作为Fundation中所有成员的前缀。
摘抄的一段话,先放在这儿。
把自己觉得爱混淆的类列一下:
UIBarItem
UIGestureRecognizer
UIPrintFormatter
UIResponder
以上四个类都直接继承于NSObject类,且都有子类。
UIBarItem:
UIBarButtonItem\
UITabBarItem(注意UITabBar于UITabBarItem的区别,UITabBar是继承于UIView类)
UIGestureRecognizer(上一篇有写到)
//省略
UIPrintFormatter
UISimpleTextPrintFormatter
UIMarkupTextPrintFormatter
UIViewPrintFormatter
UIResponder(自己觉得很重要也是很强大的一个类)
UIApplication
UIView
UIViewController
用的最多的应该属UIView和UIViewController
/*UIViewController*/
UIViewController{
它的子类:UITableBarController\
UITableViewController\
UINavigationController{UIImagePickerController\UIVideoEditorController}\
UISplitViewController\
}
/*UIView*/
UIView{
UIControl{UIButton\UIDatePicker\UIPageControl\UISegmentedControl\UITextField\UISlider\UISwitch}
UIWindow
UILabel
UIPickerView
UIProgressView
UIImageView
UITabBar
UIToolBar
UINavigationBar
UITableViewCell
UIActionSheet
UIAlertView
UIScrollView{UITableView\UITextView}
UISearchBar
UIWebView
}
相关文章推荐
- IOS开发UI系列之常用类的继承关系层次图
- IOS之UI控件之间的继承关系
- iOS-UI-基本控件之继承关系
- IOS UI继承关系图示
- ios中UI控件的继承关系
- iOS之UI随笔-UIKit框架控件之间的继承关系
- iOS部分-UI基础控件 - 01天 入门 第08课 创建应用程序中的一些细节
- iOS 中的继承关系图谱
- iOS--UIGraphicsBeginImageContext系列知识(图片缩放裁剪、改变大小、合并、裁剪部分、保存到媒体库)
- IOS UI Label的一些用法
- ios 重用UI部分代码的好方法(再也不用为局部变量的命名而烦恼啦!)
- IOS类继承关系图
- iOS部分-UI基础控件 - 01天 入门 第10课 frame&bounds¢er属性
- iOS部分-UI基础控件 - 01天 入门 第01课 计算机的界面搭建
- iOSUI关系基础知识
- IOS类继承关系图
- iOS_21团购_控制器继承关系图
- iOS开发视频教程 UI部分:9、应用程序的生命周期
- IOS 类继承关系
- IOS类继承关系图 && 原生控件