iOS 随记

UIImage

走缓存

+ (UIImage *)imageNamed:(NSString *)name;

不走缓存

+ (UIImage *)imageWithContentsOfFile:(NSString *)path;

UITableViewCellStyle

typedef enum : NSInteger {
   UITableViewCellStyleDefault ,
   UITableViewCellStyleValue1 ,
   UITableViewCellStyleValue2 ,
   UITableViewCellStyleSubtitle 
} UITableViewCellStyle;

默认的效果基本就是如下图所示,包含一个图片,以及两个文本。悲剧的是我们一般会有3个文本,所以我们一般需要自定义实现。
iOS 随记

你可能感兴趣的:(ios)