• 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: Drawing an NSImage into a custom NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing an NSImage into a custom NSView


  • Subject: Re: Drawing an NSImage into a custom NSView
  • From: mw <email@hidden>
  • Date: Wed, 16 Oct 2002 07:01:49 -0400

Okay, I would just like to let everybody know that I solved the problem :-D.
The problem was that the buttons kept getting initialized before the
ViewController, so when the notifications were sent, ViewController wasn't
getting them.

Originally, I had all of the notification sending/handling in both classes
inside the init method. But, I simply moved the notification sending in the
custom view class to its awakeFromNib method, and it worked!

Now the big question is: is it possible to control the order in which
objects are loaded in a nib file? And if so, how?

Thanks again for all of the help though.
Mw
_______________________________________________
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.

  • Prev by Date: NSZoneRealloc bug ?
  • Next by Date: Quartz graphics context TO QuickDraw graphics port ?
  • Previous by thread: Re: Drawing an NSImage into a custom NSView
  • Next by thread: Re: Drawing an NSImage into a custom NSView
  • Index(es):
    • Date
    • Thread