ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
Navigation controllers arrange their child controllers as a stack to facilitate navigation between them. More...
#include <NavigationViewController.h>
Data Fields | |
ViewController | viewController |
The superclass. More... | |
![]() | |
MutableArray * | childViewControllers |
The child view controllers. More... | |
ViewControllerInterface * | interface |
The interface. More... | |
Object | object |
The superclass. More... | |
ViewController * | parentViewController |
The parent view controller. More... | |
View * | view |
The main view. More... | |
Protected Attributes | |
NavigationViewControllerInterface * | interface |
The interface. More... | |
Navigation controllers arrange their child controllers as a stack to facilitate navigation between them.
Definition at line 43 of file NavigationViewController.h.
Class * _NavigationViewController | ( | void | ) |
The NavigationViewController archetype.
Definition at line 150 of file NavigationViewController.c.
NavigationViewController * init | ( | NavigationViewController * | self | ) |
Initializes this NavigationViewController.
self | The NavigationViewController. |
NULL
on error. Definition at line 38 of file NavigationViewController.c.
void popToRootViewController | ( | NavigationViewController * | self | ) |
Pops all ViewControllers on the stack except for the root ViewController.
self | The NavigationViewController. |
Definition at line 68 of file NavigationViewController.c.
void popToViewController | ( | NavigationViewController * | self, |
const ViewController * | viewController | ||
) |
Pops the top ViewController from the stack until the specified ViewController is visible.
self | The NavigationViewController. |
viewController | The ViewController to remain at the top of the stack. |
Definition at line 80 of file NavigationViewController.c.
void popViewController | ( | NavigationViewController * | self | ) |
Pops the top ViewController from the stack.
self | The NavigationViewController. |
Definition at line 97 of file NavigationViewController.c.
void pushViewController | ( | NavigationViewController * | self, |
ViewController * | viewController | ||
) |
Pushes the specified ViewController to the top of the stack.
self | The NavigationViewController. |
viewController | The ViewController. |
Definition at line 47 of file NavigationViewController.c.
ViewController rootViewController | ( | const NavigationViewController * | self | ) |
self | The NavigationViewController. |
Definition at line 118 of file NavigationViewController.c.
ViewController topViewController | ( | const NavigationViewController * | self | ) |
self | The NavigationViewController. |
Definition at line 126 of file NavigationViewController.c.
|
protected |
The interface.
Definition at line 54 of file NavigationViewController.h.
ViewController NavigationViewController::viewController |
The superclass.
Definition at line 48 of file NavigationViewController.h.