Re: [NSApp mainMenu] returns nil under 10.4.3
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