Cocoa to Tool application convertion

  • Hello guys,

    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?

    Thank you,
    Hugo
  • On 10/5/07, Hugo Veiga <hasv...> 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
    <atomicbird...>
    AIM: atomicbird1
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today