Skip to content

Commit

Permalink
Merge pull request CEWendel#238 from confide/master
Browse files Browse the repository at this point in the history
Fixes CEWendel#237, Right utility buttons don't work properly on iOS 8
  • Loading branch information
CEWendel committed Sep 16, 2014
2 parents 3c091c1 + 82c3b40 commit b395d57
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions SWTableViewCell/PodFiles/SWTableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons
_leftUtilityButtons = leftUtilityButtons;

self.leftUtilityButtonsView.utilityButtons = leftUtilityButtons;


[self.leftUtilityButtonsView layoutIfNeeded];
[self layoutIfNeeded];
}
}
Expand All @@ -252,7 +253,8 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons WithButtonWidth:(CGF
_leftUtilityButtons = leftUtilityButtons;

[self.leftUtilityButtonsView setUtilityButtons:leftUtilityButtons WithButtonWidth:width];


[self.leftUtilityButtonsView layoutIfNeeded];
[self layoutIfNeeded];
}

Expand All @@ -262,7 +264,8 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons
_rightUtilityButtons = rightUtilityButtons;

self.rightUtilityButtonsView.utilityButtons = rightUtilityButtons;


[self.rightUtilityButtonsView layoutIfNeeded];
[self layoutIfNeeded];
}
}
Expand All @@ -272,7 +275,8 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(C
_rightUtilityButtons = rightUtilityButtons;

[self.rightUtilityButtonsView setUtilityButtons:rightUtilityButtons WithButtonWidth:width];


[self.rightUtilityButtonsView layoutIfNeeded];
[self layoutIfNeeded];
}

Expand Down

0 comments on commit b395d57

Please sign in to comment.