What an application tells its delegate.
More...
#import <Application/Application.h>
|
|
(NXArray *) | + commandLineFlags |
| | Returns the NXArgument flags which can be given on the command line, for NXApplicationMain, which calls it on the delegate's class once the system has started.
|
| |
What an application tells its delegate.
Each method is optional.
Definition at line 16 of file NXApplication.h.
◆ applicationDidStart:()
Called on worker 0 when the application starts, as -applicationDidStart:watchdogReset: is, which is called instead if the delegate has both.
- Parameters
-
| application | The application. |
◆ applicationDidStart:watchdogReset:()
Called on worker 0 when the application starts.
Events can be posted from here, and none are dispatched, on any worker, until it returns.
- Parameters
-
| application | The application. |
| reset | YES if the watchdog restarted the device, which is only so when NXApplicationMain started the watchdog. |
◆ applicationWillTerminate:signal:()
| - (void) applicationWillTerminate: |
|
(NXApplication *) |
application |
| signal: |
|
(int) |
signal |
|
|
| |
|
optional |
Called on the thread which ran the application, once it has been terminated, every event which was posted has been dispatched, and every worker has finished.
- Parameters
-
| application | The application. |
| signal | The number of the signal which terminated it, such as 15 for TERM, or 0 if it wasn't one. Signals only terminate it when NXApplicationMain handles them. |
The documentation for this protocol was generated from the following file: