摘要: 1 - (IBAction)btbAction1:(UIButton *)sender { 2 3 4 __block ViewController *VC = self ; 5 6 [UIView animateWithDuration:... 阅读全文
posted @ 2015-10-14 21:31 YX祥 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 首先了解一下CALayer的基本常用的属性: 1 - (void)viewDidLoad { 2 [super viewDidLoad]; 3 // Do any additional setup after loading the view, typically from a ni... 阅读全文
posted @ 2015-10-14 21:29 YX祥 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 -(void)dealloc{10 11 [_window releas... 阅读全文
posted @ 2015-10-14 21:25 YX祥 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 数据库的基本概念性的问题,你们自己百度!这里实际操作代码操作:学习数据库,首先对数据库语言要了解,我们先了解一些基本的数据库的操作语言 1 /* 2 SQLite 3 1.创建表、删除表 4 2.添加、删除、修改、查找----数据 5 3.常用的SQL语句 6... 阅读全文
posted @ 2015-10-14 21:19 YX祥 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 看代码: 1 #import "MainViewController.h" 2 #import "Student.h" 3 4 @interface MainViewController () 5 6 @end 7 8 @implementation MainViewController 9 ... 阅读全文
posted @ 2015-10-14 21:09 YX祥 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1 - (void)viewDidLoad { 2 [super viewDidLoad]; 3 // Do any additional setup after loading the view. 4 self.view.backgroundColor = [UI... 阅读全文
posted @ 2015-10-14 21:04 YX祥 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 方法一:XML_DOMXML_DOM数据解析 1 //DOM树状解析 一个个节点解析 2 3 /* 4 GData的抓准备工作 5 1.导入动态库: libxml2.dylib 6 2.在buid setting 里面搜索 header search... 阅读全文
posted @ 2015-10-14 21:00 YX祥 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 3 4 //JSON解析 系统自带方式 -- 5 6 //1.获取路劲 7 NSString *fielPath = [[NSBundle mainBundle]pathForResource:@"Student.json" o... 阅读全文
posted @ 2015-10-14 20:57 YX祥 阅读(151) 评论(0) 推荐(0) 编辑