Open IOSDeveloperProgrammer opened 7 years ago
In Xcode IB, make sure you setup a segue ... You could set it up programmatically as well.
ensure you have the delegates set ...
extension MyViewController: CircleMenuDelegate { ... }
then in you delegate for buttonDidSelected ...
func circleMenu(_ circleMenu: CircleMenu, buttonDidSelected button: UIButton, atIndex: Int) {
switch atIndex {
case 0:
self.performSegue(withIdentifier: "MyNewWindowSegue", sender: nil)
...
... }
`func circleMenu(_ circleMenu: CircleMenu, buttonDidSelected button: UIButton, atIndex: Int) { print("button did selected: (atIndex)")
}`
This method is not working. please guide me