You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
*[**Documentation**](#documentation)
22
22
*[Enabling / Disabling the Checkbox](#enabling--disabling-the-checkbox)
23
23
*[Reloading](#reloading)
24
+
*[Delegate] (#delegate)
24
25
*[Customization](#customization)
25
26
26
27
## Project Details
@@ -101,6 +102,15 @@ Example usage:
101
102
[self.myCheckBox reload]
102
103
```
103
104
105
+
### Delegate
106
+
**BEMCheckBox** uses a delegate to receive check box events. The delegate object must conform to the `BEMCheckBoxDelegate` protocol, which is composed of two optional methods:
107
+
108
+
-`didTapCheckBox:`
109
+
Sent to the delegate every time the check box gets tapped, after its properties are updated (on), but before the animations are completed.
110
+
111
+
-`animationDidStopForCheckBox:`
112
+
Sent to the delegate every time the check box finishes being animated.
113
+
104
114
### Customization
105
115
**BEMCheckBox** is exclusively customizable though properties.
0 commit comments