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: "Jeremy Hughes" <email@hidden>
- Date: Fri, 21 Aug 2009 10:51:03 +0100
- Organization: Softpress
Quincey Morris (20/8/09, 19:31) said:
>On Aug 20, 2009, at 11:02, I. Savant wrote:
>
>> I missed that thread. Do you happen to know some keywords from the
>> subject?
>
>No, I've looked for it but I can't find it. It was one of a number of
>similar questions around that time, possibly about iPhone views, and
>the comment was an afterthought to some other response, with no
>additional details. All I can remember is that it sent me scurrying to
>change some window controller awakeFromNib's to windowDidLoad's.
How about...
From Kevin Cathey (10/6/09, 06:37):
"We encourage you to use the controller's controller specific methods
for knowing when you content is loaded:
NSWindowController -- windowDidLoad
UIViewController -- viewDidLoad
Since the behavior of awakeFromNib differs between iPhone OS and Mac
OS X, using windowDidLoad or viewDidLoad will ensure you only receive
that message once: when the window or view is loaded."
Jeremy
_______________________________________________
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