Public Member Functions | |
(NSString *) | - name |
Returns the name of this application. | |
(NSString *) | - description |
Returns the name of this application. | |
(int) | - runWithClass: |
Runs a command line application with the specified delegate class, and returns the result. | |
Static Public Member Functions | |
(DDCliApplication *) | + sharedApplication |
Returns the common shared application. |
+ (DDCliApplication *) sharedApplication |
Returns the common shared application.
- (NSString *) name |
Returns the name of this application.
- (NSString *) description |
- (int) runWithClass: | (Class) | delegateClass |
Runs a command line application with the specified delegate class, and returns the result.
This instantiates an instance of the delegate class, and releases it up completion. Exceptions are trapped, and an error message is printed.
delegateClass | The class of the delegate |