YNDropDownDelegate
public protocol YNDropDownDelegate: class
Delegate to get call back
-
Hide menu
Declaration
Swift
func hideMenu() -
Change menu title you called. you can call it in YNDropDownMenu or YNDropDownView
Declaration
Swift
func changeMenu(title: String, at index: Int)Parameters
titleString
indexIndex should be smaller than your menu counts
-
Change view you called. you can call it in YNDropDownMenu or YNDropDownView
Declaration
Swift
func changeMenu(title: String, status: YNStatus, at index: Int)Parameters
titleView you want to change
statusnormal, selected, disabled
indexIndex should be smaller than your menu counts
-
Change view you called. you can call it in YNDropDownMenu or YNDropDownView
Declaration
Swift
func changeView(view: UIView, at index: Int)Parameters
viewView you want to change
indexIndex should be smaller than your menu counts
-
Make button label always selected. (not button image)
Declaration
Swift
func alwaysSelected(at index: Int)Parameters
indexIndex should be smaller than your menu counts
-
Make button label normal that selected before. (not button image)
Declaration
Swift
func normalSelected(at index: Int)Parameters
indexIndex should be smaller than your menu counts
YNDropDownDelegate Protocol Reference