Skip to content

Commit

Permalink
Merge pull request #7 from alphatroya/feature/autoLayout
Browse files Browse the repository at this point in the history
implement intrinsicContentSize to AutoLayout support
  • Loading branch information
taruntyagi697 committed Apr 8, 2015
2 parents c1609f8 + 5a7d801 commit 405530b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions RateView/RateView.m
Expand Up @@ -537,4 +537,12 @@ -(void)handleTouches:(NSSet*)touches
}
}

#pragma mark
#pragma mark <Auto Layout Helpers>
#pragma mark

- (CGSize)intrinsicContentSize {
return CGSizeMake(self.starSize * 5, self.starSize);
}

@end

0 comments on commit 405530b

Please sign in to comment.