Re: cocoa app from scratch
Re: cocoa app from scratch
- Subject: Re: cocoa app from scratch
- From: j o a r <email@hidden>
- Date: Mon, 19 Jul 2004 10:50:14 +0200
On 2004-07-19, at 10.29, Ihar 'Philips' Filipau wrote:
>
1. IB cannot update file which I already have modified - so I have
>
to do it manually anyway. So you cannot do it completely automatically
>
anyway. Switch forth and back from Xcode to IB just to add another
>
method to class as for overkill. I do it in couple of seconds by hands
>
without need to: i. switch to IB; ii. find its window; iii. switch to
>
classes; vi. locate class; v. right click to add method; vi, make up
>
parameters, vii. click to generate source code/whatever. All this
>
instead of in Xcode: i. type method in; ii. select it, switch to
>
.h/.m; iii. paste it; iv. Cmd-S. Done. So unvisual way has its
>
advantages too.
What you should do is probably to just add the code in the source file
in Xcode, and then re-parse the header file from IB. Much easier. This
is also something you only need to do when you update the outlets /
action methods that affects the stuff in the nib file - ie. something
that's not going to be that common after the application matures.
>
2. I want to see how it works - bit more academic, rather then
>
pragmatic approach you are argueing. But that find with me. I very
>
easily get lost on IB's windows, classes, properties, etc. Interface
>
is just not for me. And those trick that I need to go forth and back
>
from Xcode to IB to Xcode to IB to Xcode again is definitely doesn't
>
help.
If you can't *use* GUI applications you probably shouldn't be trying to
*create* GUI applications...
>
P.S. <whining>Most of people have said - read documentations. Well I
>
did. I have tryed to find how to draw a circle in view. First I have
>
spent some time guessing that it is view where I can draw into. Second
>
I have tryed to find how to draw. I found article which say "How to
>
draw", which say "It's easy! Use App Kit!", without any link to where
>
inside of App Kit I need to look into. Searching "Application Kit
>
Drawing" gives piles of stuff which has nothing to do with drawing. I
>
found NSImage, NSColor documentation - but I still have no slight idea
>
how to draw anything into a view. Quartz, QuickDraw - cool api! great
>
technology! - but well give me _simple_ example how to draw 'A' on
>
screen!.. Well, I'm at moment digging Sketch example - it does some
>
drawing, not that it is simple.</whining> Documentation is good when
>
you know what to look for. As for beginer like I am - it is complete
>
disaster. Well, everyone recomends ORA's Cocoa programming - probably
>
I would buy it.
Learning new things are difficult, and that includes learning where to
find information. Nothing can change that. If you expect zero learning
curve you're going to be disappointed many times in life... :)
Hang in there, I think you're going to find that it's well worth it!
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.