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