• 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: pb with awakeFromNib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pb with awakeFromNib


  • Subject: Re: pb with awakeFromNib
  • From: "Paolo Manna" <email@hidden>
  • Date: Tue, 19 Jun 2007 15:12:04 +0100

I do send waitUntilExit, because I thought awakeFromNib would execute once the
interface is ready and shown.
Then applicationDidFinishLaunching: is your best bet to call the
NSTask. Using waitUntilExit will do exactly what is says, i.e. wait
for the task to end: if you want to remain responsive throughout the
process (say, to let the user do something else in the meantime),
you'd probably want to register for NSTaskDidTerminateNotification.

More at:
http://developer.apple.com/documentation/Cocoa/Conceptual/OperatingSystem/index.html

Paolo
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Register for AC power change
  • Next by Date: Using FSCopyObjectAsync to copy bundles
  • Previous by thread: Re: pb with awakeFromNib
  • Next by thread: Re: pb with awakeFromNib
  • Index(es):
    • Date
    • Thread