Re: Cocoa to Tool application convertion
Re: Cocoa to Tool application convertion
- Subject: Re: Cocoa to Tool application convertion
- From: "Tom Harrington" <email@hidden>
- Date: Sun, 7 Oct 2007 17:28:55 -0600
On 10/5/07, Hugo Veiga <email@hidden> wrote:
> I've to change a cocoa application to a tool command line one.
>
> The thing is that the cocoa application as it is rely on NSRunLoop to
> execute comunication with bluetooth device. When i try to remove
> everything from the application that is GUI related and keep the
> rest, it stops working.
>
> Any advices on how to do this?
Create your own run loop in the new version. When you're using
NSApplication this gets created for you, but there's no reason you
can't create your own if you need it.
--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________
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