上一页 1 2 3 4 5 6 7 ··· 13 下一页

2014年8月12日

摘要: 阅读全文
posted @ 2014-08-12 22:33 林源 阅读(132) 评论(0) 推荐(0) 编辑
摘要: @interface UIView : UIResponder/*** 通过一个frame来初始化一个UI控件*/- (id)initWithFrame:(CGRect)frame;// YES:能够跟用户进行交互@property(nonatomic,getter=isUserInteractio... 阅读全文
posted @ 2014-08-12 22:28 林源 阅读(290) 评论(0) 推荐(0) 编辑

2014年7月24日

摘要: 1 UIView自带的方法 2 1> - (void)layoutSubviews; 3 * 当一个控件的frame发生改变的时候就会自动调用 4 * 一般在这里布局内部的子控件(设置子控件的frame) 5 * 一定要调用super的layoutSubviews方法 6 7 2> - (voi... 阅读全文
posted @ 2014-07-24 23:23 林源 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1 interface ViewController () 2 3 @property (weak, nonatomic) IBOutlet UITableView *tableView; 4 5 @end 6 7 @implementation ViewController 8 9 ... 阅读全文
posted @ 2014-07-24 22:23 林源 阅读(127) 评论(0) 推荐(0) 编辑

2014年7月20日

摘要: #import "ViewController.h"#import "FMDB.h"@interface ViewController ()- (IBAction)insert;- (IBAction)update;- (IBAction)delete;- (IBAction)select;@pro... 阅读全文
posted @ 2014-07-20 22:14 林源 阅读(148) 评论(0) 推荐(0) 编辑

2014年7月13日

摘要: #import "ViewController.h"@interface ViewController () @property (weak, nonatomic) IBOutlet UIImageView *imageView;@end/**// 下载进度跟进- (void)URLSession:... 阅读全文
posted @ 2014-07-13 22:51 林源 阅读(640) 评论(0) 推荐(0) 编辑

2014年7月8日

摘要: sql思维导图总结: 阅读全文
posted @ 2014-07-08 21:39 林源 阅读(244) 评论(0) 推荐(0) 编辑

2014年6月16日

摘要: 在.pch中写:#ifdef DEBUG // 调试阶段#define CXSLog(...) NSLog(__VA_ARGS__)#else // 发布阶段#defineCXSLog(...)#endif 阅读全文
posted @ 2014-06-16 20:23 林源 阅读(402) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad{ [super viewDidLoad]; #ifdef DEBUG // 设置测试使用的用户名和密码 self.nameText.text = @“xiaoshuai"; self.pwdText.text = @"123"; [self text... 阅读全文
posted @ 2014-06-16 20:22 林源 阅读(196) 评论(0) 推荐(0) 编辑

2014年6月5日

摘要: #import "UITextField+LimitLength.h"#import #import @implementation UITextField (LimitLength)static NSString *kLimitTextLengthKey = @"kLimitTextLengthK... 阅读全文
posted @ 2014-06-05 22:58 林源 阅读(213) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页

导航