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
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
> Written with [StackEdit](https://stackedit.io/).
5
5
# SelectMultipleButtons
6
-
A grouped buttons supporting multiple/radio selection and automatic layout by building with swift.
6
+
A grouped buttons supporting multiple/radio selection and automatic layout by building with swift.https://github.com/danceyoung/react-native-selectmultiple-button for React Native.
You must adopt the `SelectMultipleButtonsDelegate` protocol. The protocol likes UITableViewDelegate and UITableDatasource, providing information that SelectMultipleButtons need to construct buttons and manage button selection...
19
19
20
-
_// how many buttons are returnd_
20
+
_// how many buttons are returned_
21
21
22
22
func numberOf(selectMultipleButtons: SelectMultipleButtons) -> Int
23
23
@@ -27,7 +27,7 @@ _// how many buttons are returnd_
27
27
28
28
_//set maximumNumber selected_
29
29
30
-
_//default you can all select buttons_
30
+
_//default you can select all buttons_
31
31
32
32
_//if you set the value is 1, the selectmultiplebuttons will present radio selecting_
33
33
@@ -53,14 +53,15 @@ Import modules
53
53
import selectmultiplebuttons
54
54
55
55
Init a selectMultipleButtons
56
+
56
57
_//width is the maxwidth for SelectMultipleButtons view_
57
58
58
59
_//no care height, after performing SelectMultipleButtons.load(), the height is calced automaticly._
59
60
60
61
_// you must perform SelectMultipleButtons.load() befor adding it to parent view._
0 commit comments