how to create a faceless background application

2008-10-14 Thread han
My application uses a faceless background application to perform some 
calculations. This background application is launched and terminated by 
my foreground application.But


I don't know how to create a faceless background application?
thanks.


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: how to create a faceless background application

2008-10-14 Thread Jens Beuckenhauer

Hello,

My application uses a faceless background application to perform  
some calculations. This background application is launched and  
terminated by my foreground application.But


I don't know how to create a faceless background application?


1.) start Xcode
2.) choose New Project
3.) choose Mac OS X/Command Line Utility/Foundation Tool

Greetings
Jens
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: how to create a faceless background application

2008-10-14 Thread Joseph Crawford

han,

by any chance would you be talking about NSThread?  You want to break  
a process off into another thread to complete your calculation then  
notify your application when it is completed.  This will not hold up  
the UI while doing the calculation.


I am not sure how to implement it as I am still new but NSThread seems  
to be what you are looking for.


Joseph Crawford


On Oct 14, 2008, at 2:53 AM, han wrote:

My application uses a faceless background application to perform  
some calculations. This background application is launched and  
terminated by my foreground application.But


I don't know how to create a faceless background application?
thanks.


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/codebowl%40gmail.com

This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]