File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,18 @@ menu.config.cornerRadius = 12
9595menu.config .blurBackground = true
9696menu.config .viewWidth_iPad = 350
9797menu.config .presentation = .default
98- menu.closeDelegate = self
98+ menu.delegate . close = self
9999menu.show (self )
100100```
101101
102102## Delegate
103103
104104To ` know when menu is closed ` , set the delegate with protocol ` UIFloatMenuCloseDelegate ` :
105105
106+ ``` swift
107+ menu.delegate .close = self
108+ ```
109+
106110``` swift
107111func UIFloatMenuDidCloseMenu () {
108112 print (" didCloseMenu - MenuClosed" )
@@ -111,6 +115,10 @@ func UIFloatMenuDidCloseMenu() {
111115
112116To get ` UITextField data ` , set the delegate with protocol ` UIFloatMenuTextFieldDelegate ` :
113117
118+ ``` swift
119+ menu.delegate .textField = self
120+ ```
121+
114122``` swift
115123func UIFloatMenuGetTextFieldData (_ data : [String ]) {
116124 print (" TextField -" , data)
You can’t perform that action at this time.
0 commit comments