• 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: -viewDidMoveToWindow without subclassing? NSViewController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >-viewDidMoveToWindow without subclassing? NSViewController? (From: Jerry Krinock <email@hidden>)
 >Re: -viewDidMoveToWindow without subclassing? NSViewController? (From: Graham Cox <email@hidden>)
 >Re: -viewDidMoveToWindow without subclassing? NSViewController? (From: Jerry Krinock <email@hidden>)
 >Re: -viewDidMoveToWindow without subclassing? NSViewController? (From: Graham Cox <email@hidden>)
 >Re: -viewDidMoveToWindow without subclassing? NSViewController? (From: Jerry Krinock <email@hidden>)
 >Re: -viewDidMoveToWindow without subclassing? NSViewController? (From: Graham Cox <email@hidden>)

  • Prev by Date: free_garbage and underflow errors when using GC in Cocoa app with SetControlData() and/or HIViewSetText() calls
  • Next by Date: Re: Create Library of Media File
  • Previous by thread: Re: -viewDidMoveToWindow without subclassing? NSViewController?
  • Next by thread: Re: -viewDidMoveToWindow without subclassing? NSViewController?
  • Index(es):
    • Date
    • Thread