PopupMenuDelegate
@MainActor
@objc
public protocol PopupMenuDelegate
弹出菜单事件代理
-
Undocumented
Declaration
Swift
@objc @MainActor optional func popupMenuBeganDismiss(_ popupMenu: PopupMenu)
-
Undocumented
Declaration
Swift
@objc @MainActor optional func popupMenuDidDismiss(_ popupMenu: PopupMenu)
-
Undocumented
Declaration
Swift
@objc @MainActor optional func popupMenuBeganShow(_ popupMenu: PopupMenu)
-
Undocumented
Declaration
Swift
@objc @MainActor optional func popupMenuDidShow(_ popupMenu: PopupMenu)
-
点击事件回调
Declaration
Swift
@objc @MainActor optional func popupMenu(_ popupMenu: PopupMenu, didSelectAt index: Int)
-
自定义cell,高度为itemheight,建议cell背景色为透明,否则切的圆角显示不出来
Declaration
Swift
@objc @MainActor optional func popupMenu(_ popupMenu: PopupMenu, cellForRowAt index: Int) -> UITableViewCell?