Skip to content

Commit

Permalink
Added new animationDidStopForCheckBox: delegate method, and documenta…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Boris-Em authored and Bobo committed Oct 17, 2015
1 parent 6df61c6 commit ac6cf4d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Classes/BEMCheckBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,21 @@ typedef NS_ENUM(NSInteger, BEMAnimationType) {

@optional

/** Sent to the delegate every time the check box gets tapped.
* @discussion This method gets triggered after the properties are updated (on), but before the animations, if any, are completed.
* @seealso animationDidStopForCheckBox:
* @param checkBox: The BEMCheckBox instance that has been tapped.
*/
- (void)didTapCheckBox:(BEMCheckBox*)checkBox;


/** Sent to the delegate every time the check box finishes being animated.
* @discussion This method gets triggered after the properties are updated (on), and after the animations are completed. It won't be triggered if no animations are started.
* @seealso didTapCheckBox:
* @param checkBox: The BEMCheckBox instance that has been tapped.
*/
- (void)animationDidStopForCheckBox:(BEMCheckBox *)checkBox;

@end

NS_ASSUME_NONNULL_END

0 comments on commit ac6cf4d

Please sign in to comment.