Skip to content

Conversation

@romanfrozzt
Copy link

Added a delegate protocol for wiring an action on user interaction finished. Sometimes it may be useful to know when the user has finished setting the value, instead of being notified about every change.

@property (nonatomic, strong) IBInspectable UIImage *halfStarImage;
@property (nonatomic, strong) IBInspectable UIImage *filledStarImage;

@property (nonatomic, weak) IBOutlet id<HCSStarRatingViewDelegate> delegate;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love that you made this an outlet! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants