Re: cocoa app from scratch
Re: cocoa app from scratch
- Subject: Re: cocoa app from scratch
- From: Pandaa <email@hidden>
- Date: Mon, 19 Jul 2004 02:02:26 +0200
2004-07-19 kl. 00.31 skrev Ihar 'Philips' Filipau:
Hello!
I was just wondering, is there any way of building cocoa application
without Xcode/IB?
Without an IDE? You can always use the gcc command line from the
Terminal.. Why you would want to is completely beyond me.
Without IB? Sure there is. Just create all your windows and views
programatically. Read the docs, it's no problem. Why you would want to
is completely beyond me.
I'm trying to learn this stuff by myself. But I'm not really
/visual/ programmer - and I'm getting bored of IB pretty fast.
Read the docs, simple as that.
It needs *way* *too* *much* mouse clicking. It's just impossible (*).
Write an alternative, then.
Most people find 20 seconds of mouse clicking to be preferable over 300
lines of code, but I suppose it's a matter of taste.
Did you ever spend an hour tweaking hard coded bounding rectangles of
your gui objects? IB is your best friend when writing GUIs, and you
won't spend much time in it compared to actual coding anyway.
Most of the tutorials on Internet are just not applicabable to
10.3.*'s Xcode/IB due to new names/features. And most of this tutorial
are just "click here, then here, then click here, then click here,
then here." In the end you are getting something - seems like XML file
insode of bundle, which is not that readable/understandable. And you
can only hope that this next "click here" exists in my version of IB.
As a total newbie it have been proven ver difficult.
The documentation that came with your dev tools installation should be
up to date.
So I'm looking for some sample of Cocoa application (say HelloWorld)
which is written without IB.
It would be bad style. You don't want to do it that way, *especially*
since you are a newbie to Cocoa.
Any pointers to FAQs/RTFMs will be appreciated.
Thanks in advance.
(*) Yeah, normally I don't use mouse. At all. MacOS itsef user-wise
requires much less mouse waiving.
Well, so what?
P.S. I have had some experience with GTK's Glade and Borland's C++
Builder. Is there anything like GTK's Glade for Cocoa - what basicly
generates source code for given piece of GUI, which one (I'm
oversimplifying here) needs to call from main(). I need something I
can look into and understand what is going on.
No. Code-generating GUI builders is not how it's done here. Freeze
dried objects is the way, for many good reasons.
Sorry about the attitude.
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. email@hidden . . www.synapticpulse.net .
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.