Custom NSView subclasses not getting init'ed
Custom NSView subclasses not getting init'ed
- Subject: Custom NSView subclasses not getting init'ed
- From: Phil Curry <email@hidden>
- Date: Tue, 9 Mar 2004 16:31:51 -0800
I have a window in IB. I add 6 NSView subclasses (StripGraph) to it
When I build and run, I see initWithFrame getting called 6 times with
correct size and origin values.
When I run it in the debugger, only one of the StripGraph is not 0x0
and responds to my methods.
The other five look like they never got init'ed.
If I try to access an instance variable for any null StripGraph, I get
no errors, warnings, or crashes.
What have I forgotten to do to get all the NSView subclasses actually
init'ed?
Thanks.
-Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.