• 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: Creating Cocoa Windows from Command Line Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Cocoa Windows from Command Line Apps


  • Subject: Re: Creating Cocoa Windows from Command Line Apps
  • From: The Karl Adam <email@hidden>
  • Date: Thu, 20 Jan 2005 19:04:14 -0500

You guys do know that in Panther you can go right into an application
bundle and start these applications directly? They work fine. The
problem here is that he is missing necessary handling of events that
happen either in NSApplication or in NSRunLoop.

P.S. you guys can start any app you want from the command line to see
what I mean. In prior versions of OS X, you couldn't do this without a
bus error.

-Karl


On Thu, 20 Jan 2005 15:58:30 -0800, John Stiles <email@hidden> wrote:
> GUI-based apps will fail in a variety of ways if run from the command
> line.
> They will kind of limp, and some things will work, but there will be
> all kinds of strangeness and inexplicable bugs.
> Don't do it.
>
>
> On Jan 20, 2005, at 3:55 PM, The Karl Adam wrote:
>
> > Well, to be fair the problem is probably a lack of an NSApplication
> > instance to manage the window views and the main run loop.
> >
> > -Karl
> >
> > On Thu, 20 Jan 2005 17:16:47 +0000, Finlay Dobbie
> > <email@hidden> wrote:
> >> On Thu, 20 Jan 2005 15:50:06 +0100, Lachlan Blackhall
> >> <email@hidden> wrote:
> >>> Gday,
> >>>
> >>> I have been using the vtk (www.vtk.org) libraries and when i write a
> >>> command line program that calls these libraries i get the following
> >>> problem.
> >>>
> >>> I start the program from the console with ./VTKtest and the program
> >>> creates a cocoa window with the visualisation in it. All good.
> >>
> >> Using windows and stuff from commandline tools (i.e. unbundled
> >> applications) is not supported. Don't do it.
> >>
> >>  -- Finlay
> >>  _______________________________________________
> >> Do not post admin requests to the list. They will be ignored.
> >> Cocoa-dev mailing list      (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >  _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Cocoa-dev mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Creating Cocoa Windows from Command Line Apps
      • From: Raffael Cavallaro <email@hidden>
    • Re: Creating Cocoa Windows from Command Line Apps
      • From: Guy English <email@hidden>
References: 
 >Creating Cocoa Windows from Command Line Apps (From: Lachlan Blackhall <email@hidden>)
 >Re: Creating Cocoa Windows from Command Line Apps (From: Finlay Dobbie <email@hidden>)
 >Re: Creating Cocoa Windows from Command Line Apps (From: The Karl Adam <email@hidden>)
 >Re: Creating Cocoa Windows from Command Line Apps (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Creating Cocoa Windows from Command Line Apps
  • Next by Date: Re: Beginner problem with multiple NSTableView
  • Previous by thread: Re: Creating Cocoa Windows from Command Line Apps
  • Next by thread: Re: Creating Cocoa Windows from Command Line Apps
  • Index(es):
    • Date
    • Thread