• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom NSView subclasses not getting init'ed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Custom NSView subclasses not getting init'ed
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Encapsulate C struct/toll-free bridging?
  • Next by Date: Re: Encapsulate C struct/toll-free bridging?
  • Previous by thread: How to update or redraw NSMenuItem while it is being displayed
  • Next by thread: Re: Custom NSView subclasses not getting init'ed
  • Index(es):
    • Date
    • Thread