Re: Interface Builder question
Re: Interface Builder question
- Subject: Re: Interface Builder question
- From: Ondra Cada <email@hidden>
- Date: Tue, 30 Jul 2002 14:49:20 +0200
On Tuesday, July 30, 2002, at 04:25 , Terry Simons wrote:
I'm totally new to the GUI paradigm, but I've done quite a bit of C/C++
stuff, as well as quite a bit of Java, which seems a bit simpler, in that
I set everything up myself.
Quite contrariwise, it is very much more complicated, since you have to
set everything up yourself.
IB seems hazy, and I'd like to understand it better.
The basics are extremely plain (the actual implementation uses some
not-so-plain tricks):
- you can instantiate any object in IB by drag'n'drop from palette or the
popup Instantiate command; it is the same as if you made the object
programmatically by [[TheClass alloc] initWith...];
- for most instances (generally, but not only, views) you can set their
attributes via the Inspector pane. It is the same as if you set the
attributes programmatically (like, you disable a button in Inspector <=>
you send it setEnabled:NO);
- you can connect outlets to other instances. It is the same as if you
filled the outlet programmatically;
- you can connect actions to targets. It is the same as if you used
setAction: and setTarget: programmatically.
---
Ondra Cada
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.