• 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
Re: Custom NSView subclasses not getting init'ed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSView subclasses not getting init'ed


  • Subject: Re: Custom NSView subclasses not getting init'ed
  • From: Allan Odgaard <email@hidden>
  • Date: Wed, 10 Mar 2004 02:11:24 +0100

On 10. Mar 2004, at 1:31, Phil Curry wrote:

The other five look like they never got init'ed.

You say that you get 6 initWithFrame? so how can you see that they did not init? do they show up in the window correctly?

If I try to access an instance variable for any null StripGraph, I get no errors, warnings, or crashes.

How do you access the variable? if you do so by sending a message, then sending a message to nil is a no-op.

What have I forgotten to do to get all the NSView subclasses actually init'ed?

Where do the null-pointers show up? is it the outlets? in that case you should probably double-check your Nib file.
_______________________________________________
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: Phil Curry <email@hidden>
References: 
 >Custom NSView subclasses not getting init'ed (From: Phil Curry <email@hidden>)

  • Prev by Date: Executing a process as another user in Cocoa.
  • Next by Date: Multiple toolbars?
  • Previous by thread: Custom NSView subclasses not getting init'ed
  • Next by thread: Re: Custom NSView subclasses not getting init'ed
  • Index(es):
    • Date
    • Thread