// // UITableViewCell+XL.h // amigo // // Created by wujian on 2017/8/29. // Copyright © 2017年 xiaolian.Inc. All rights reserved. // #import #define SCREEN_SCALE [[UIScreen mainScreen] scale] #define HalfPxHeight (SCREEN_SCALE == 3)? 0.6667:0.5 @interface UITableViewCell (XL) - (void)addHeaderLineWithColor:(UIColor *)tColor lineX:(float)tx; - (void)addHeaderLineWithColor:(UIColor *)tColor leadingeX:(float)lx trailingX:(float)tx; - (void)addHeaderLineWithColor:(UIColor *)tColor leadingeX:(float)lx trailingX:(float)tx lineHeight:(float)lh; - (void)addHeaderLineWithColor:(UIColor *)tColor lineX:(float)tx cellHeight:(float)ht; - (void)addfooterLineWithColor:(UIColor *)tColor lineX:(float)tx; - (void)addfooterLineWithColor:(UIColor *)tColor leadingeX:(float)lx trailingX:(float)tx; - (void)addfooterLineWithColor:(UIColor *)tColor leadingeX:(float)lx trailingX:(float)tx lineHeight:(float)lh; - (void)addfooterLineWithColor:(UIColor *)tColor lineX:(float)tx cellHeight:(float)ht; - (void)addfooterLineWithColor:(UIColor *)tColor lineX:(float)tx cellHeight:(float)ht lineHeight:(float)lx; - (void)addLinesOnHeaderAndFooterWithColor:(UIColor *)tColor; - (void)cleanLinesOnHeaderAndFooter; - (void)setHeaderLineHiden:(BOOL)isHiden; - (void)setFooterLineHiden:(BOOL)isHiden; - (void)setNormalBackgroundViewWithColor:(UIColor *)tColor; - (void)setSelectedBackgroundViewWithColor:(UIColor *)tColor; @end