- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 UI基础学习之(三):UITextField
UITextField 创建 UITextField * tf1 =[[UITextField alloc] init]; 设置属性 tf1.frame =CGRectMake(50, 200, 200, 50); tf1.backgroundColor= [UIColor yellowColor]; //文本显示 //文本框中的文字 可读可写 tf1.text = @"请输
2015-10-26 17:29:08
363
原创 UI基础学习之(二):UILabel
UILabel UILabel的基本属性比较简单,文字的对齐方式和断行模式属于OC框架下的属性,即NS开头的属性值,如下: 创建UILabel UILabel * label = [[UILabel alloc] init]; // 设置属性 label.frame = CGRectMake(100, 100, 200,100); label.backgrou
2015-10-26 17:21:58
400
原创 UI基础学习之(一):UIWindow、UIView的基本属性
UIWindow 1、每个程序至少有一个Window,在Application.m中进行设置 2、Window用来展示控件 -(BOOL)application:(UIApplication *)applicationdidFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window =
2015-10-26 17:03:16
404
空空如也
C语言中:二维数组能否作为函数参数,如何定义?
2015-08-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人