Unable to access customized NSView's accessor method
Unable to access customized NSView's accessor method
- Subject: Unable to access customized NSView's accessor method
- From: "Frederick C. Lee" <email@hidden>
- Date: Sat, 4 Mar 2006 13:25:16 -0800
I had thought that this customized NSView would have been allocated
via IB.
When I initially ran the program, the customized NSView DID initialize:
[Session started at 2006-03-04 13:20:16 -0800.]
2006-03-04 13:20:19.028 ... {EWDrawingLayer.m:initWithFrame}
But in the debugger, a get a 'nil' when accessing the same View at the
locale of its calling routine:
(gdb) po [ewMainMapView class]
Cannot access memory at address 0x0
- (void)selectRegion {
NSLog(@"{EWAppDelegate.m:selectRegion}"); <-- po call.
[ewMainMapView sayHello];
...
...
}
So my revised question: why is it nil and how can I call its accessor?
Or...how do I maintain its allocated state?
I want to send an Image to this View and compose it.
Ric.
Greetings:
I noticed that an accessor routine of a customized NSView doesn't
fire when called. The View did initialize.
I created a simple 'Hello' routine. But it doesn't fire.
Does anyone know why?
Ric.
_______________________________________________
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