摘要:
// h 里面写的#import typedef void(^Myblock)(id object);@interface NetworkHandle : NSObject+ (void)getDataWithURLString:(NSString *)string compare:(Myblock... 阅读全文
摘要:
#import "ViewController.h"#import "Person.h"@interface ViewController ()@property (nonatomic, strong) Person *model;@end@implementation ViewController... 阅读全文
摘要:
MVC--框架级的设计模式-专门的事情专门人去做。代理 单例 (静态去) (KVO)--观察者设计模式中的一种设计模式的实现方式 目标动作(target Action)模式 --- 思想 阅读全文
摘要:
int fac(int n){ int f; if (n==0) f=1; else f=n*fac(n-1); return f; } 阅读全文
摘要:
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]; ... 阅读全文