摘要: 在application代理中添加如下加粗方法- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if ([UIApplicati... 阅读全文
posted @ 2015-12-19 23:22 杨顺的博客 阅读(241) 评论(0) 推荐(0)
摘要: 1 // 2 // YSvoiceTool.h 3 // audio 4 // 5 // Created by ys on 15/12/18. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 #import 10 11... 阅读全文
posted @ 2015-12-18 23:11 杨顺的博客 阅读(429) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // mjRefresh 4 // 5 // Copyright (c) 2015年 ys. All rights reserved. 6 // 7 8 #import "ViewController.h" 9 #import "M... 阅读全文
posted @ 2015-12-18 19:28 杨顺的博客 阅读(398) 评论(0) 推荐(0)
摘要: 项目地址:https://github.com/samyanghehe/sqlLiteDemo/tree/master/YSUiSplitViewController 阅读全文
posted @ 2015-12-13 18:20 杨顺的博客 阅读(408) 评论(0) 推荐(0)
摘要: 模型 1 // 2 // YSFoodTypeModule.h 3 // YSUiSplitViewController 4 // 5 // Created by ys on 15/12/12. 6 // Copyright (c) 2015年 ys. All rights reserved... 阅读全文
posted @ 2015-12-12 20:27 杨顺的博客 阅读(249) 评论(0) 推荐(0)
摘要: 1 #import "YSHomeViewController.h" 2 #import "UIImage+YS.h" 3 #import "UIBarButtonItem+YS.h" 4 #import "YStitleButton.h" 5 #import "AFNetworking.h" 6... 阅读全文
posted @ 2015-12-04 12:30 杨顺的博客 阅读(1366) 评论(0) 推荐(0)
摘要: 1 -(NSArray *)tgs 2 { 3 NSString *path = [[NSBundle mainBundle]pathForResource:@"tgs" ofType:@"plist"]; 4 NSMutableArray *tgsArray = [NSMutab... 阅读全文
posted @ 2015-12-04 12:25 杨顺的博客 阅读(243) 评论(0) 推荐(0)
摘要: 1 #import "YSHomeViewController.h" 2 #import "UIImage+YS.h" 3 #import "UIBarButtonItem+YS.h" 4 #import "YStitleButton.h" 5 #import "AFNetworking.h" 6... 阅读全文
posted @ 2015-12-04 12:18 杨顺的博客 阅读(491) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // GCDdemo 4 // 5 // Created by ys on 15/11/23. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 #import ... 阅读全文
posted @ 2015-11-23 12:44 杨顺的博客 阅读(357) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // nsthreaddemo 4 // 5 // Created by ys on 15/11/23. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // ... 阅读全文
posted @ 2015-11-23 12:28 杨顺的博客 阅读(238) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // singleton 4 // 5 // Created by ys on 15/11/23. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 10 #im... 阅读全文
posted @ 2015-11-23 11:35 杨顺的博客 阅读(684) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // NSOperation 4 // 5 // Created by ys on 15/11/22. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8... 阅读全文
posted @ 2015-11-22 21:23 杨顺的博客 阅读(220) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // NSThread 4 // 5 // Created by ys on 15/11/22. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 #import... 阅读全文
posted @ 2015-11-22 19:24 杨顺的博客 阅读(248) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // CAAnimationAndViewAnimation 4 // 5 // Created by ys on 15/11/22. 6 // Copyright (c) 2015年 ys. All rights reserved... 阅读全文
posted @ 2015-11-22 16:28 杨顺的博客 阅读(245) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // CAAnimationGroup 4 // 5 // Created by ys on 15/11/22. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9... 阅读全文
posted @ 2015-11-22 15:15 杨顺的博客 阅读(196) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // CATransition 4 // 5 // Created by ys on 15/11/22. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 #im... 阅读全文
posted @ 2015-11-22 14:55 杨顺的博客 阅读(227) 评论(0) 推荐(0)
摘要: 1 // 2 // ViewController.m 3 // coreAnimation 4 // 5 // Created by ys on 15/11/21. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 // 8 9 #i... 阅读全文
posted @ 2015-11-21 23:23 杨顺的博客 阅读(307) 评论(0) 推荐(0)
摘要: 2 1 // 2 // ViewController.m 3 // coreAnimation 4 // 5 // Created by ys on 15/11/21. 6 // Copyright (c) 2015年 ys. All rights reserved. 7 //... 阅读全文
posted @ 2015-11-21 23:02 杨顺的博客 阅读(214) 评论(0) 推荐(0)
摘要: view的完整显示过程: 1.view.layer会准备一个Layer Graphics Context(图层类型上下文) 2.调用view.layer.delegate(即view)的drawLayer:inContext:并传入准备好的上下文 3.view的drawLayer:inCont... 阅读全文
posted @ 2015-11-21 22:18 杨顺的博客 阅读(1177) 评论(0) 推荐(0)