UITableViewCell(FWUIKit)

@interface UITableViewCell (FWUIKit)

/// 设置分割线内边距,iOS8+默认15.f,设为UIEdgeInsetsZero可去掉
@property (nonatomic, assign) UIEdgeInsets fw_separatorInset NS_REFINED_FOR_SWIFT;

/// 获取当前所属tableView
@property (nonatomic, weak, readonly, nullable) UITableView *fw_tableView NS_REFINED_FOR_SWIFT;

/// 获取当前显示indexPath
@property (nonatomic, readonly, nullable) NSIndexPath *fw_indexPath NS_REFINED_FOR_SWIFT;

@end

Undocumented

  • 设置分割线内边距,iOS8+默认15.f,设为UIEdgeInsetsZero可去掉

    Declaration

    Objective-C

    @property (nonatomic) UIEdgeInsets fw_separatorInset;
  • 获取当前所属tableView

    Declaration

    Objective-C

    @property (nonatomic, weak, readonly, nullable) UITableView *fw_tableView;
  • 获取当前显示indexPath

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSIndexPath *fw_indexPath;