摘要: 第一步:创建视图控制器并创建LoginViewController、RegistViewController、PasswordViewController三个控制器:#import "MainViewController.h"#import "LoginViewController.h"#impor... 阅读全文
posted @ 2015-10-17 22:30 随心所欲2015 阅读(229) 评论(0) 推荐(0)
摘要: 第一步:创建UIView子类PaintView:1、声明属性和方法:#import @interface PaintView : UIView@property(nonatomic,retain)NSMutableArray *allLines;@property(nonatomic,retain)... 阅读全文
posted @ 2015-10-17 12:06 随心所欲2015 阅读(225) 评论(0) 推荐(0)
摘要: #import "AppDelegate.h"#define kScreenWidth CGRectGetWidth([[UIScreen mainScreen] bounds])#define kScreenHeight CGRectGetHeight([[UIScreen mainScreen]... 阅读全文
posted @ 2015-10-17 11:51 随心所欲2015 阅读(785) 评论(0) 推荐(0)