摘要: //使cell的下划线顶头, (void)tableView:(UITableView )tableView willDisplayCell:(UITableViewCell )cell forRowAtIndexPath:(NSIndexPath )indexPath { if ([cell re 阅读全文
posted @ 2016-03-15 17:51 shao621 阅读(216) 评论(0) 推荐(0) 编辑
摘要: //自动计算高宽 (CGSize)sizeWithText:(NSString )text font:(UIFont )font maxSize:(CGSize)maxSize { NSDictionary attrs = @{NSFontAttributeName : font}; return 阅读全文
posted @ 2016-03-15 11:32 shao621 阅读(541) 评论(0) 推荐(0) 编辑