CircleMenuDelegate
@objc public protocol CircleMenuDelegate
CircleMenuDelegate
-
Tells the delegate the circle menu is about to draw a button for a particular index.
Declaration
Swift
optional func circleMenu(circleMenu: CircleMenu, willDisplay button: UIButton, atIndex: Int)Parameters
circleMenuThe circle menu object informing the delegate of this impending event.
buttonA circle menu button object that circle menu is going to use when drawing the row. Don’t change button.tag
atIndexAn button index.
-
Tells the delegate that a specified index is about to be selected.
Declaration
Swift
optional func circleMenu(circleMenu: CircleMenu, buttonWillSelected button: UIButton, atIndex: Int)Parameters
circleMenuA circle menu object informing the delegate about the impending selection.
buttonA selected circle menu button. Don’t change button.tag
atIndexSelected button index
-
Tells the delegate that the specified index is now selected.
Declaration
Swift
optional func circleMenu(circleMenu: CircleMenu, buttonDidSelected button: UIButton, atIndex: Int)Parameters
circleMenuA circle menu object informing the delegate about the new index selection.
buttonA selected circle menu button. Don’t change button.tag
atIndexSelected button index
-
Tells the delegate that the menu was collapsed - the cancel action.
Declaration
Swift
optional func menuCollapsed(circleMenu: CircleMenu)Parameters
circleMenuA circle menu object informing the delegate about the new index selection.
CircleMenuDelegate Protocol Reference