Re: Wring code without interface builder
Re: Wring code without interface builder
- Subject: Re: Wring code without interface builder
- From: Ondra Cada <email@hidden>
- Date: Sun, 4 Aug 2002 23:21:10 +0200
On Sunday, August 4, 2002, at 09:43 , Albert Russel wrote:
As I stated in my first posting I DO use InterfaceBuilder.I am completely
new to the Mac, Objective-C and Cocoa and I just do not like it if there
is
to much magic going on when I am developing code.
Well, I second that sentiment, but I would advice that you might first
become a reasonably experienced Cocoa programmer who just uses the magic
wand the way it works best. *Then* you might start wondering what's inside
-- it would be much easier once you are really cosy with the other stuff
(like ObjC itself, or those classes whose API you use directly, without IB)
. I did it this way myself ages ago, and it worked for me excellently.
probably everything can be found in the current docs
Some, I guess, 99% of stuff you are seeking for. Perhaps even 99.9%.
I am still puzzled how events from the different controls and views
are sent to each other if you do not use InterfaceBuilder
Exactly the same way as if you used it. They are sent some way using a
particular object network (NSResponder.html for more); that network can be
prepared by a number of different ways, like (a) loading it completely
from a NIB, or (b) creating it programmatically. Neverhteless, once there,
the behaviour is *exactly* the same.
but since you say
that everything I want to know is in the current docs I will look for
answers there.
Do read NSResponder, NSView, NSWindow and NSApplication as many times as
needed to be completely lost in that. Then take holidays. Then re-read it
once more, and I bet some patterns would slowly start to show themselves ;
)
Or, in other words, what I've recommended above: yup, for a complete
newbie the stuff *is* kinda complicated. So, be for some time satisfied
with that is just works, and learn the other stuff; when done, return to
this.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.