ContainerViewController

class ContainerViewController : UIViewController

Container for menu and content view controllers. Manages toolbar view as well.

  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var playButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var tempoLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var menuButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var menuTableView: UITableView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var contentView: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var contentBackgroundView: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var menuLeadingConstraint: NSLayoutConstraint!
  • Undocumented

    Declaration

    Swift

    private var isPlaying: Bool { get set }
  • Undocumented

    Declaration

    Swift

    fileprivate let menuItems: [MenuItem]
  • Undocumented

    Declaration

    Swift

    private var viewControllers: [UIViewController]
  • Undocumented

    Declaration

    Swift

    private var hasOpenMenu: Bool
  • Undocumented

    Declaration

    Swift

    private var selectedViewController: UIViewController! { get set }
  • Undocumented

    Declaration

    Swift

    override func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    func navigateTo(menuItem: MenuItem)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func didTapMenu(_ sender: Any?)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func didTogglePlay(_ sender: Any)
  • Shake gesture behavior. Used for clearing sequencer state

    Declaration

    Swift

    override func motionEnded(_ motion: UIEventSubtype, with event: UIEvent?)
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell