Skip to content

Added a delegate protocol for user's finishing of interaction #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

@@ -42,5 +44,13 @@ IB_DESIGNABLE
@property (nonatomic, strong) IBInspectable UIImage *emptyStarImage;
@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