• 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: project templates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: project templates


  • Subject: Re: project templates
  • From: Mike Jackson <email@hidden>
  • Date: Thu, 12 Jan 2006 19:55:18 -0500


On Jan 12, 2006, at 6:44 PM, Robert Dell wrote:

j o a r wrote:

On 12 jan 2006, at 23.36, Robert Dell wrote:
are there any templates out there that run an application with a window and menu that does not use nib files?
This is probably more suited for Cocoa-Dev (if you're looking for a Cocoa app of course). There are a couple of threads in the archives on the topic already, for example this one:
<http://www.cocoabuilder.com/archive/message/cocoa/2003/12/31/84618>
It's a couple of years old, so I'm not sure it's 100% accurate (especially my comments on things that I found weird), but it still works, and it should get you started. I don't show how to open a window there, but it's simple - just create the window and put it on screen...
It would of course be interesting to know why you want to do this? Very, very, rarely is there any point in attempting to avoid the convenience of NSApplicationMain() and nib files!

compiling for multi operating systems means you need to not use nib files or nsapplicationmain


can't use those items and also, more flexibility not using the built-in stuff.

_______________________________________________

VTK (www.kitware.com) I think uses this approach. They are cross platform and you can create a window to render to. Can not remember if there was any type of menu with that window. Of course the first thing that the cocoa developers did was figure out how to put their rendering context into an NSView and then use IB to create our interface.
--------
Mike Jackson
imikejackson <at> gmail <dot> com




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >project templates (From: Robert Dell <email@hidden>)
 >Re: project templates (From: j o a r <email@hidden>)
 >Re: project templates (From: Robert Dell <email@hidden>)

  • Prev by Date: Re: project templates
  • Next by Date: Universal Binaries for an app built with different SDK versions
  • Previous by thread: Re: project templates
  • Next by thread: pow() function returning different results under Rosetta
  • Index(es):
    • Date
    • Thread