Skip to content

Commit

Permalink
Update setters
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Oct 9, 2011
1 parent a541bc7 commit 5599010
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SSToolkit/SSRatingPicker.m
Expand Up @@ -60,16 +60,18 @@ - (void)settotalNumberOfStars:(NSUInteger)totalNumberOfStars {


- (void)setEmptyStarImage:(UIImage *)emptyStarImage {
[emptyStarImage retain];
[_emptyStarImage release];
_emptyStarImage = [emptyStarImage retain];
_emptyStarImage = emptyStarImage;

[self setNeedsDisplay];
}


- (void)setFilledStarImage:(UIImage *)filledStarImage {
[filledStarImage retain];
[_filledStarImage release];
_filledStarImage = [filledStarImage retain];
_filledStarImage = filledStarImage;

[self setNeedsDisplay];
}
Expand Down

0 comments on commit 5599010

Please sign in to comment.