Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions SWTableViewCell/PodFiles/SWTableViewCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ typedef NS_ENUM(NSInteger, SWCellState)
@property (nonatomic, copy) NSArray *leftUtilityButtons;
@property (nonatomic, copy) NSArray *rightUtilityButtons;

@property (nonatomic, assign) BOOL bounces;

@property (nonatomic, weak) id <SWTableViewCellDelegate> delegate;

- (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(CGFloat) width;
Expand Down
10 changes: 10 additions & 0 deletions SWTableViewCell/PodFiles/SWTableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(C
[self layoutIfNeeded];
}

- (BOOL)bounces
{
return self.cellScrollView.bounces;
}

- (void)setBounces:(BOOL)bounces
{
self.cellScrollView.bounces = bounces;
}

#pragma mark - UITableViewCell overrides

- (void)didMoveToSuperview
Expand Down