• 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: awakeFromNib on main thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib on main thread?


  • Subject: Re: awakeFromNib on main thread?
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 15 Feb 2011 12:27:50 -0800

On Mon, 14 Feb 2011 16:57:02 -0800 (PST), Jon Sigman <email@hidden> said:
>I did a search of the docs but didn't find this question addressed...
>During the object instantiation phase of app startup, is every -awakeFromNib
>method guaranteed to be called on the app's main thread?

If this is a serious concern, just put an assert that the current thread *is* the main thread into your awakeFromNib implementation. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________

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

  • Prev by Date: Re: Sleep Notification
  • Next by Date: Re: converting app to a document based app
  • Previous by thread: Re: awakeFromNib on main thread?
  • Next by thread: rewriting observed keyPath
  • Index(es):
    • Date
    • Thread