delegate

导航

 

2015年5月9日

摘要: #import #import "AFNetworking.h" #import "SuccessViewController.h" @interface RootViewController : UIViewController { //声明加载数据的AFNetWork成员变量 AFHTTPRequestOperationManager *_manager; ... 阅读全文
posted @ 2015-05-09 18:35 jsonUserList 阅读(137) 评论(0) 推荐(0) 编辑
 
摘要: #import #import "GDataXMLNode.h" @interface ZYKAppDelegate : UIResponder { //声明xml文档解析成员变量 GDataXMLDocument *_doc; } @property (strong, nonatomic) UIWindow *window; @end #import "ZYKAppDe... 阅读全文
posted @ 2015-05-09 18:31 jsonUserList 阅读(116) 评论(0) 推荐(0) 编辑
 
摘要: #import #import "FMDatabase.h" @interface RootViewController : UIViewController { //FMDatabase作用为操作数据库:创建数据库,创建数据库中的表 //的增删改查等功能 FMDatabase *_dataBase; //创建数据源数组 NSMutableAr... 阅读全文
posted @ 2015-05-09 18:26 jsonUserList 阅读(167) 评论(0) 推荐(0) 编辑
 
摘要: #import @interface LYMAppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; //增删改查等功能通过managedObjectContext操作 @property (readonly, strong, nonatomic) NSManagedObject... 阅读全文
posted @ 2015-05-09 18:24 jsonUserList 阅读(188) 评论(0) 推荐(0) 编辑
 
摘要: #import #import @interface RootViewController : UIViewController { //声明音乐播放器 AVAudioPlayer *_audioPlayer; } - (IBAction)pressStart:(id)sender; - (IBAction)pressStop:(id)sender; - (IBAction)... 阅读全文
posted @ 2015-05-09 18:19 jsonUserList 阅读(172) 评论(0) 推荐(0) 编辑
 
摘要: #import //iOS中有三种实现多线程的方式 //1,NSThread //2,NSOperationQueue //3,GCD (grand centeral dispatch) //多线程的作用为,一款软件能够在同一时段运行多个任务 //应用程序已建立系统就给他分配一个主线程,控制手机页面 //多线程可以解决页面假死的问题 @interface LYMAppDelegate :... 阅读全文
posted @ 2015-05-09 18:11 jsonUserList 阅读(116) 评论(0) 推荐(0) 编辑