diff --git a/SWTableViewCell/PodFiles/SWTableViewCell.h b/SWTableViewCell/PodFiles/SWTableViewCell.h index 10d9fab..d3bfb78 100644 --- a/SWTableViewCell/PodFiles/SWTableViewCell.h +++ b/SWTableViewCell/PodFiles/SWTableViewCell.h @@ -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 delegate; - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(CGFloat) width; diff --git a/SWTableViewCell/PodFiles/SWTableViewCell.m b/SWTableViewCell/PodFiles/SWTableViewCell.m index 3daceac..b91a5f4 100644 --- a/SWTableViewCell/PodFiles/SWTableViewCell.m +++ b/SWTableViewCell/PodFiles/SWTableViewCell.m @@ -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