2016年2月15日

UI 中程序的生命周期事件(AppDelegate)

摘要: #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunching 阅读全文

posted @ 2016-02-15 17:01 Mr_Deng 阅读(210) 评论(0) 推荐(0) 编辑

UI 中 Label控件的基本用法

摘要: UILabel * label_ = [UILabel new]; //设置LABEL控件的位置和大小 label_.frame = CGRectMake(50, 50, 200, 50); //设置文本文字 label_.text = @"this is a label.this is a lab 阅读全文

posted @ 2016-02-15 16:57 Mr_Deng 阅读(404) 评论(0) 推荐(0) 编辑

iOS开发UI中Timer的用法

摘要: ViewController.m 文件 - (void)viewDidLoad { [super viewDidLoad]; //创建一个定时器 //定时器 创建就运行 //第一个参数 定时器执行时间间隔 单位为秒 //第二个参数 接受事件的对象 //第三个参数 定时器执行的方法 //第四个参数 n 阅读全文

posted @ 2016-02-15 16:50 Mr_Deng 阅读(274) 评论(0) 推荐(0) 编辑

导航