This is AskMe_main.m in view mode; [Download] [Up]
/* AskMe_main.m
*
*
* Modified so that the proper nib file gets loaded depending on the language
* chosen.
*
*
* You may freely copy, distribute, and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied, as to its
* fitness for any particular use.
*
*/
#import <stdlib.h>
#import <appkit/Application.h>
#import "Localization.h"
void main(int argc, char *argv[]) {
NXApp = [Application new];
[NXApp setDelegate:NXApp];
LoadLocalNib("AskMe.nib", NXApp);
[NXApp run];
[NXApp free];
exit(0);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.