摘要: //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borderStyle = U 阅读全文
posted @ 2016-09-05 20:30 -Cc 阅读(289) 评论(0) 推荐(0)
摘要: 格式化描述串: char %c; short int %hd; int %d; long int %ld; float %f; double %lf; 枚举: 例 enum weekday{Mon, Tue, Wed, Thr, Fri, Sat, Sun} a, b, c; weekday是枚举名 阅读全文
posted @ 2016-08-30 19:45 -Cc 阅读(126) 评论(0) 推荐(0)