• 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: Alex Fischer <email@hidden>
  • Date: Fri, 2 Dec 2005 08:55:37 +0100

Thanks Bill:

That sounds interesting.


Alexander Fischer



On Dec 1, 2005, at 18:49 , Bill Bumgarner wrote:

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


_______________________________________________
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
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>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Previous by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Next by thread: Re: Newbie: Drag of Custom Type from NSOutlineView
  • Index(es):
    • Date
    • Thread