上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad { 10 [super viewDidLoad]; 11 // Do an... 阅读全文
posted @ 2016-03-25 21:17 恒远也 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 #import "TableViewController.h" 2 3 @interface TableViewController () 4 5 @end 6 7 @implementation TableViewController 8 9 - (void)viewDidLoad { 10 [super viewDidLoad]; 11 ... 阅读全文
posted @ 2016-03-25 21:15 恒远也 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad { 10 [super viewDidLoad]; 11 //向主线程添加... 阅读全文
posted @ 2016-03-25 21:13 恒远也 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 //GCD单例 2 +(instancetype)share 3 { 4 //整个生命周期只创建一次 5 static GCDSingleton *object = nil; 6 static dispatch_once_t onceToken; 7 dispatch_once(&onceToken,^{ 8 object = ... 阅读全文
posted @ 2016-03-25 21:12 恒远也 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 //总票数 5 @property (nonatomic,assign) NSInteger count; 6 @end 7 8 @implementation ViewController 9 10 - (void)viewDidLoad { ... 阅读全文
posted @ 2016-03-23 22:39 恒远也 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(N... 阅读全文
posted @ 2016-03-18 20:25 恒远也 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 #import "KeychainItemWrapper.h" 3 #import "RSA.h" 4 #import "Person.h" 5 @interface ViewController () 6 @property (weak, nonatomic) IBOutlet UITextField *userName... 阅读全文
posted @ 2016-03-18 20:21 恒远也 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 2.NSURLSession网络处理,都有的是代理和block ,session以后把同步删了,想同步用过期的NSURLSesssion 阅读全文
posted @ 2016-03-17 17:44 恒远也 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad { 10 [super viewDidLoad]; 11 // Do any additiona... 阅读全文
posted @ 2016-03-16 20:43 恒远也 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1 #import "MovieTableViewController.h" 2 #import "JSONKit.h" 3 #import "Movie.h" 4 #import "MovieTableViewCell.h" 5 @interface MovieTableViewController () 6 @property (nonatomic,strong) NSMutab... 阅读全文
posted @ 2016-03-16 20:34 恒远也 阅读(334) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页