码迷,mamicode.com
首页 >  
搜索关键字:uiviewcontroller    ( 1229个结果
iOS开发--UIPickerView(选择器控件) 省份和城市的做法
//UIPickerView 是一个选择器控件,它可以生成单列的选择器,也可生成多列的选择器 @interface ViewController : UIViewController<UIPickerViewDataSource,UIPickerViewDelegate> @property(str
分类:移动开发   时间:2016-03-11 23:49:12    阅读次数:207
swift 通过 string 创建 object
class IndexViewController: UIViewController{} let className = "IndexViewController" let bundlePath = NSBundle.mainBundle().bundlePath let bundleFullNa
分类:编程语言   时间:2016-03-11 15:22:01    阅读次数:148
Swfit中视图跳转
1.跳转到任一UIViewController var sb = UIStoryboard(name: "Main", bundle:nil) var vc = sb.instantiateViewControllerWithIdentifier("ChooseViewController") as
分类:其他好文   时间:2016-03-10 12:30:17    阅读次数:146
iOS UISegmentedControl的例子
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UIImageView *MyImage; @property(strong,nonatomic) UIT
分类:移动开发   时间:2016-03-09 23:54:01    阅读次数:265
iOS UISlider和 UISwitch的例子
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UISlider *MySlider; @property(strong,nonatomic) UIVie
分类:移动开发   时间:2016-03-09 23:43:27    阅读次数:197
UIButton 的基本用法
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UIButton *btnTest; @property(strong,nonatomic) UIText
分类:其他好文   时间:2016-03-08 23:18:00    阅读次数:237
Ui——创建视图的方法及过程
//1.创建视图 ViewController.h @interface ViewController : UIViewController //创建视图控件; @property(strong,nonatomic)UIView *myView; @end ViewController.m @int
分类:其他好文   时间:2016-03-07 22:12:34    阅读次数:169
iOS对UIViewController生命周期和属性方法的解析
目录[-] iOS对UIViewController生命周期和属性方法的解析 一、引言 二、UIViewController的生命周期 三、从storyBoard加载UIViewController实例的传值陷阱 四、UIViewController与StroyBoard的相关相互方法 1、View
分类:移动开发   时间:2016-03-07 12:07:20    阅读次数:377
iOS UIViewController 的automaticallyAdjustsScrollViewInsets属性
在iOS7.0以后,UIViewController添加了automaticallyAdjustsScrollViewInsets,关于此属性的描述看官方文档解释 automaticallyAdjustsScrollViewInsets PropertyA Boolean value that in
分类:移动开发   时间:2016-03-04 16:21:52    阅读次数:304
IOS开发基础知识--碎片35
1:iOS视图控制对象生命周期 init-初始化程序 viewDidLoad-加载视图 viewWillAppear-UIViewController对象的视图即将加入窗口时调用; viewDidApper-UIViewController对象的视图已经加入到窗口时调用; viewWillDisap
分类:移动开发   时间:2016-03-02 14:42:50    阅读次数:234
1229条   上一页 1 ... 34 35 36 37 38 ... 123 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!