MenuToolController
@available(iOS 9.0, *)
open class MenuToolController<MenuDataSource, CellConfigurator> : PhotoEditToolController, MenuViewControllerDelegate where MenuDataSource : MenuDataSourceProtocol, CellConfigurator : CellConfiguratorProtocol, MenuDataSource.Item == CellConfigurator.Item
A MenuToolController
is a tool controller, that shows a menu at the bottom (via a contained
MenuViewController
object) and some other view controller above that menu.
-
The menu view controller that is contained in this tool controller.
Declaration
Swift
open let menuViewController: MenuViewController<MenuDataSource, CellConfigurator>
-
The content view controller whose view is shown above the menu.
Declaration
Swift
open let contentViewController: UIViewController
-
Creates a new
MenuToolController
with the given content and menu view controllers and aConfiguration
object.Declaration
Swift
public init?(contentViewController: UIViewController, menuViewController: MenuViewController<MenuDataSource, CellConfigurator>, configuration: Configuration)
Parameters
contentViewController
Any view controller that is shown above the menu.
menuViewController
A
MenuViewController
object.configuration
A
Configuration
object.