CustomMenuItem
public enum CustomMenuItem
A MenuItem
represents an item in the menu. It can either be a tool controller, an action or a
visual separator.
-
A tool with a label, an icon and the photo edit tool controller subclass.
Declaration
Swift
case tool(String, UIImage, PhotoEditToolController)
-
An action with a label, an icon and a closure to execute.
Declaration
Swift
case action(String, UIImage, (inout PhotoEditModel) -> Void)
-
A visual separator.
Declaration
Swift
case separator