Commit cefb4a6c by M. Porooshani

Made the MenuViewDelegate functions optional

parent 7c4373e9
......@@ -33,10 +33,8 @@ import UIKit
@objc(MenuViewDelegate)
public protocol MenuViewDelegate: MaterialDelegate {
/**
:name: menuViewDidTapOutside
*/
func menuViewDidTapOutside(menuView: MenuView)
// Gets called when the user taps outside menu buttons.
optional func menuViewDidTapOutside(menuView: MenuView)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment