Initialization in non Doc Based App?
Initialization in non Doc Based App?
- Subject: Initialization in non Doc Based App?
- From: "Josh M. Hurd" <email@hidden>
- Date: Thu, 20 Sep 2001 17:52:05 -0700
I am new to Cocoa so please be patient. Thanks
The app I am working on is rather simple so I have only one class;
InterfaceControl which is the interface controller and does all the rest
of the work. I have one main data structure (NSMutableArray) which I need
to initialize as the app starts up. This is a straight Cocoa app, not a
Doc based.
Here is my interface:
@interface InterfaceControl : NSObject
{
...
NSMutableArray *theFiles;
}
...
@end
I tried:
+ (id)init
{
...
}
no effect. the method is never called.
I have scoured the Docs and am convinced that I have just missed something
obvious.
Someone kindly point it out to me?
Thanks!
M