随笔分类 -  iOS UI

摘要://首先建立模型文件 QLLQuestion.hheQLLQuestion.m文件 #import <Foundation/Foundation.h> @interface QLLQuestion : NSObject @property(nonatomic,copy)NSString *answe 阅读全文
posted @ 2016-03-09 22:34 徒步天涯 阅读(644) 评论(0) 推荐(0)
摘要:就是点一下灯 它本身和周围4盏灯会变色 ViewController.m文件 #import "ViewController.h" #import "UIView+change.h" @interface ViewController () @property(assign,nonatomic)in 阅读全文
posted @ 2016-03-08 21:54 徒步天涯 阅读(635) 评论(1) 推荐(1)
摘要:什么是UIScrollView •设备的屏幕大小是极其有限的,因此直接展示在用户眼前的内容也相当有限 • •当展示的内容较多,超出一个屏幕时,用户可通过滚动手势来查看屏幕以外的内容 • •普通的UIView不具备滚动功能,不能显示过多的内容 • •UIScrollView是一个能够滚动的视图控件,可 阅读全文
posted @ 2016-03-07 22:20 徒步天涯 阅读(316) 评论(0) 推荐(0)
摘要:@interface ViewController : UIViewController@property (strong,nonatomic) UILabel *aLable;@property (strong,nonatomic) UILabel *lblPassword;@end#import... 阅读全文
posted @ 2016-01-13 11:14 徒步天涯 阅读(198) 评论(0) 推荐(0)