会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
马文强
2015年10月5日
封装的一个GET和POST的异步方法
摘要: // h 里面写的#import typedef void(^Myblock)(id object);@interface NetworkHandle : NSObject+ (void)getDataWithURLString:(NSString *)string compare:(Myblock...
阅读全文
posted @ 2015-10-05 19:47 马文强
阅读(210)
评论(0)
推荐(0)
观察者模式
摘要: #import "ViewController.h"#import "Person.h"@interface ViewController ()@property (nonatomic, strong) Person *model;@end@implementation ViewController...
阅读全文
posted @ 2015-10-05 16:11 马文强
阅读(98)
评论(0)
推荐(0)
设计模式
摘要: MVC--框架级的设计模式-专门的事情专门人去做。代理 单例 (静态去) (KVO)--观察者设计模式中的一种设计模式的实现方式 目标动作(target Action)模式 --- 思想
阅读全文
posted @ 2015-10-05 14:37 马文强
阅读(92)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告