• 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: [NSApp mainMenu] returns nil under 10.4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSApp mainMenu] returns nil under 10.4.3


  • Subject: Re: [NSApp mainMenu] returns nil under 10.4.3
  • From: Bill Bumgarner <email@hidden>
  • Date: Thu, 1 Dec 2005 09:49:36 -0800

On Dec 1, 2005, at 8:45 AM, Ondra Cada wrote:
Alex,
On 1.12.2005, at 16:08, Alex Fischer wrote:
Well I agree with you all in the convenience of using NIBs, but that really mean that we have to necessarily use XCode / Interface builder to develop Cocoa Apps and cannot just rely on an text editor and GCC to develop those apps. Really GCC can compile ObjC, but it seems to be "worthless" if we do not use NIBs and invoke GCC through XCode.
Not quite. You can DIY, if you really want to. NIBs are (can be) plain text files nowadays, so you can edit them in vi :) (theoretically you could create them there as well, but to do that, you would have to know the structure extremely well), gcc would compile ObjC all right. Construct the bundle structure using mkdir, put NIBs and other resources (at very least Info.plist) there using cp. Done.

There is already a hunk of code available to make building applications outside of Xcode relatively easy. It can also be used from within Xcode. It is used by PyObjC to enable easily constructing Cocoa applications written in python.

See py2app:

http://pythonmac.org/wiki/py2app

It is, by no means, limited in usefulness to Python apps. It is a generic bundle and mach-o construction and manipulation toolkit. For example, you can use py2app to embed a framework into an app wrapper -- it will take care of rewriting the mach-o segments as appropriate.

b.bum
_______________________________________________
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: [NSApp mainMenu] returns nil under 10.4.3
      • From: Alex Fischer <email@hidden>
References: 
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Colin Barrett <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Alex Fischer <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: Re: Problem with setNeedsDisplay: in derived NSOpenGLView
  • Previous by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Next by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Index(es):
    • Date
    • Thread