• 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: Cocoa to Tool application convertion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Cocoa to Tool application convertion (From: Hugo Veiga <email@hidden>)

  • Prev by Date: Re: Snarfing Keyboard Events
  • Next by Date: nsarraycontroller and nsuserdefaultscontroller
  • Previous by thread: Cocoa to Tool application convertion
  • Next by thread: Working with XML files
  • Index(es):
    • Date
    • Thread