Re: Totally confused: NSObject not init'ing
Re: Totally confused: NSObject not init'ing
- Subject: Re: Totally confused: NSObject not init'ing
- From: Steve Bird <email@hidden>
- Date: Wed, 1 Dec 2004 14:36:35 -0500
On Dec 1, 2004, at 10:51 AM, Michael Becker wrote:
Hey!
Okay, this one almost scares me! What the heck is wrong here? I have
an NSObject subclass (PCProductsOrder) and an NSWindowController
subclass (PCProductsOrderController). The controller wants to create
an instance of the NSObject subclass.
Here's the code:
- (id)init {
self = [ super initWithWindowNibName:@"ProductsOrder"];
if (self) {
NSLog(@"initializing");
order = [[ PCProductsOrder alloc] init];
NSLog(@"order: %@", order);
}
return self;
}
Where / how is "order" declared ???
----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com (toll free) 1-877-676-8175
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden