摘要: 首先上预览图 主要的实现逻辑在这里 阅读全文
posted @ 2016-02-24 22:53 small-elephant_A-Do 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 今天写qq的模仿项目,找到一个比较简单的第三方框架 MMDrawerController 下面简单介绍一下 MMDrawerController的使用 预览效果如图 创建一个抽屉视图 UIViewController * leftDrawer = [[UIViewController alloc] 阅读全文
posted @ 2016-02-24 22:43 small-elephant_A-Do 阅读(2325) 评论(0) 推荐(0) 编辑
摘要: 这几天写qq列表项目,总是传不进去值,后来调试了很多次,终于找到原因所在, 在ListTableViewController.m文件中, -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return _dataAr 阅读全文
posted @ 2016-02-24 16:17 small-elephant_A-Do 阅读(147) 评论(0) 推荐(0) 编辑
摘要: predicate语句 补充 /** *1,以xx开头:@"stuname beginswith%@",@"x" 2,以xx结尾,@"stuname endswith%@",@".com" 3,基本用法:类中的属性名 =,>,<,...,contains @"stuname contains%@", 阅读全文
posted @ 2016-02-24 15:18 small-elephant_A-Do 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 先引入 建立一个数据库 NSString *path = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)lastObject]; NSLog(@"%@",path); NSString 阅读全文
posted @ 2016-02-24 10:38 small-elephant_A-Do 阅读(163) 评论(0) 推荐(0) 编辑