Re: devil of a time with an NSImageView
Re: devil of a time with an NSImageView
- Subject: Re: devil of a time with an NSImageView
- From: Kyle Sluder <email@hidden>
- Date: Thu, 20 Aug 2009 07:59:05 -0700
On Aug 20, 2009, at 7:43 AM, "I. Savant" <email@hidden>
wrote:
The remaining questions are "is one better than the other?" and "if
so, which?"
Use -awakeFromNib to do view setup (turning on layer backing, creating
caches colors, etc.). Use -windowDidLoad (or -
windowControllerDidLoadNib or whatever that NSDocument method is) for
setting up inter-view relationships.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden