摘要: 重用机制调用的就是dequeueReusableCellWithIdentifier这个方法,方法的意思就是“出列可重用的cell”,因而只要将它换为cellForRowAtIndexPath(只从要更新的cell的那一行取出cell),就可以不使用重用机制,因而问题就可以得到解决,虽然可能会浪费一 阅读全文
posted @ 2017-12-13 11:13 樊特西style 阅读(476) 评论(0) 推荐(0) 编辑
摘要: iOS-UIApplication详解 UIApplication简介 UIApplication对象是应用程序的象征。 每一个应用程序都有自己的UIApplication对象,而且是单例。 一个iOS程序启动后创建的第一个对象就是UIApplication对象。 通过UIApplication * 阅读全文
posted @ 2017-09-06 15:35 樊特西style 阅读(873) 评论(0) 推荐(0) 编辑
摘要: VC方 self.automaticallyAdjustsScrollViewInsets 这个属性是IOS7之后的新方法,目的就是为了让scrollView自动适应屏幕 (底部留白) 阅读全文
posted @ 2017-09-01 08:40 樊特西style 阅读(714) 评论(0) 推荐(0) 编辑
摘要: - (BOOL) isBlankString:(NSString *)string { if (string == nil || string == NULL) { return YES; } if ([string isKindOfClass:[NSNull class]]) { return Y 阅读全文
posted @ 2017-06-14 14:10 樊特西style 阅读(2414) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-02-20 11:46 樊特西style 阅读(97) 评论(0) 推荐(0) 编辑
摘要: //在这里判断,看indexPath是否已经被选中,如果选中就将其对应的那一行的字体颜色设置为选中时的颜色,否则就是默认的颜色 if ([_indexArray containsObject:indexPath]) { cell.dateLabel.textColor = [UIColor gray 阅读全文
posted @ 2016-11-11 20:07 樊特西style 阅读(680) 评论(0) 推荐(0) 编辑
摘要: //添加代理方法 @interface MineViewController () <UITableViewDelegate, UITableViewDataSource, PayCellDelegate, UINavigationControllerDelegate, UIImagePickerC 阅读全文
posted @ 2016-08-23 14:11 樊特西style 阅读(7981) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/u012265444/article/details/51507808 阅读全文
posted @ 2016-08-23 10:08 樊特西style 阅读(102) 评论(0) 推荐(0) 编辑
摘要: // 设置边框样式 /* UITextBorderStyleNone, 无边框,默认 UITextBorderStyleLine, 直线边框 UITextBorderStyleBezel, 边框 + 阴影 UITextBorderStyleRoundedRect 圆角矩形边框 */ textFiel 阅读全文
posted @ 2016-08-10 15:19 樊特西style 阅读(592) 评论(0) 推荐(0) 编辑
摘要: #import "MyTabBarViewController.h" #import "CareChosenViewController.h" #import "SeparateViewController.h" #import "MainViewController.h" #import "Dis 阅读全文
posted @ 2016-08-10 11:02 樊特西style 阅读(149) 评论(0) 推荐(0) 编辑