Merge pull request #1078 from aaronschubert0/ASTableView-Layout-bug-fix

[ASTableView] Ensure -[super layoutSubviews] is called before messaging delegate.
This commit is contained in:
appleguy
2016-01-19 19:21:19 -08:00

View File

@@ -47,8 +47,8 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
- (void)layoutSubviews
{
[_delegate willLayoutSubviewsOfTableViewCell:self];
[super layoutSubviews];
[_delegate willLayoutSubviewsOfTableViewCell:self];
}
- (void)didTransitionToState:(UITableViewCellStateMask)state