Re: -viewDidMoveToWindow without subclassing? NSViewController?
Re: -viewDidMoveToWindow without subclassing? NSViewController?
- Subject: Re: -viewDidMoveToWindow without subclassing? NSViewController?
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 17 Apr 2009 03:49:53 -0700
On a general note, if you want something to happen later than -
awakeFromNib, you can always send -
performSelector:withObject:afterDelay:cancelPrevious:. If you pass a
delay of zero, it will happen the next time through the event loop.
I've used this many times to deal with situations similar to what
Jerry described.
-jcr
"This is not a book to be tossed aside lightly. Rather, it should be
hurled with great force." -Dorothy Parker
_______________________________________________
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