Class Delegate.NavBar

Nav Bar Delegate Interface.

the interface for controlling a Nav Bar via a delegate.

Usage:

  •  local dUI = require 'dmc_ui'
     local widget = dUI.newNavBar()
     widget.delegate = <delgate object>
  •  local dUI = require 'dmc_ui'
     local widget = dUI.newNavBar{
       delegate=<delegate object>
     }

Methods

:shouldPopItem (navBar, navItem) (optional) asks delegate if Nav Item should be popped off stack.
:didPopItem (navBar, navItem) (optional) informs delegate that Nav Item was popped off stack.


Methods

:shouldPopItem (navBar, navItem)
(optional) asks delegate if Nav Item should be popped off stack. call to the delegate to see whether the current Nav Item should be popped off the navigation stack. return boolean value.

Parameters:

Returns:

    bool
:didPopItem (navBar, navItem)
(optional) informs delegate that Nav Item was popped off stack. tells delegate that this Nav Item was popped off of the navigation stack. the delegate can respond appropriately.

Parameters:

generated by LDoc 1.4.3 Last updated 2015-05-14 11:55:05