FROM : Steve Bird
DATE : Wed Dec 01 20:36:35 2004
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
DATE : Wed Dec 01 20:36:35 2004
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
| Related mails | Author | Date |
|---|---|---|
| Michael Becker | Dec 1, 16:51 | |
| John Stiles | Dec 1, 20:32 | |
| Steve Bird | Dec 1, 20:36 | |
| Amul Goswamy | Dec 1, 20:43 | |
| Shawn Erickson | Dec 1, 20:44 | |
| Guy English | Dec 1, 20:45 | |
| Erik M. Buck | Dec 1, 21:26 | |
| Guy English | Dec 1, 22:11 | |
| Michael Becker | Dec 2, 16:11 |






Cocoa mail archive

