Re: pb with awakeFromNib
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