Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent a1bd2f66f8
commit 74820d9ba9

@ -37,7 +37,7 @@ typedef NS_ENUM(NSInteger, OWSTableItemType) {
};
typedef void (^OWSTableActionBlock)();
typedef UITableViewCell * (^OWSTableCustomCellBlock)();
typedef UITableViewCell *_Nonnull (^OWSTableCustomCellBlock)();
@interface OWSTableItem : NSObject
@ -54,7 +54,7 @@ typedef UITableViewCell * (^OWSTableCustomCellBlock)();
+ (OWSTableItem *)itemWithCustomCellBlock:(OWSTableCustomCellBlock)customCellBlock
actionBlock:(nullable OWSTableActionBlock)actionBlock;
- (UITableViewCell *)customCell;
- (nullable UITableViewCell *)customCell;
- (NSNumber *)customRowHeight;
@end

@ -141,7 +141,7 @@ NS_ASSUME_NONNULL_BEGIN
return item;
}
- (UITableViewCell *)customCell
- (nullable UITableViewCell *)customCell
{
if (_customCell) {
return _customCell;

Loading…
Cancel
Save