2015年10月5日

摘要: // h 里面写的#import typedef void(^Myblock)(id object);@interface NetworkHandle : NSObject+ (void)getDataWithURLString:(NSString *)string compare:(Myblock... 阅读全文
posted @ 2015-10-05 19:47 马文强 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import "Person.h"@interface ViewController ()@property (nonatomic, strong) Person *model;@end@implementation ViewController... 阅读全文
posted @ 2015-10-05 16:11 马文强 阅读(93) 评论(0) 推荐(0) 编辑
摘要: MVC--框架级的设计模式-专门的事情专门人去做。代理 单例 (静态去) (KVO)--观察者设计模式中的一种设计模式的实现方式 目标动作(target Action)模式 --- 思想 阅读全文
posted @ 2015-10-05 14:37 马文强 阅读(87) 评论(0) 推荐(0) 编辑

2015年8月16日

摘要: int fac(int n){ int f; if (n==0) f=1; else f=n*fac(n-1); return f; } 阅读全文
posted @ 2015-08-16 21:08 马文强 阅读(110) 评论(0) 推荐(0) 编辑

2015年8月15日

摘要: void huanshunxu(int *arr,int len){ int i =0; int j =len-1; while (iarr[j+1]) { int temp; temp=arr[j]; arr[j]=arr[j+1]; ... 阅读全文
posted @ 2015-08-15 17:57 马文强 阅读(213) 评论(0) 推荐(0) 编辑

导航