Interface builder and instances
Interface builder and instances
- Subject: Interface builder and instances
- From: Pierre DOUCY <email@hidden>
- Date: Sun, 4 May 2003 16:04:12 +0300
I'm a newbie in Obj-C/Cocoa programming and there are some things that
I don't understand with the Interface Builder instantiates classes.
Practically, let's say that I want to create an application containing
a lot of different windows, complicated enough to let me decide that
I'm going to use one controller class per window. The way to do it -as
far as I know- is to create a so-called custom classes derivated from
NSObject and implement some methods in them. I will then instantiate
them in IB and make connections.
That's where I don't understand what's happening: I don't see any code
that does these instantiations. What if I want to instantiate my
controllers dynamically depending on the user's actions, and maybe
dynamically create connections between controls and methods (for
example if I programmatically add a control into my window) ?
Thanks in advance.
Pierre DOUCY
--
Cats are intended to teach us that not everything in nature has a
function.
_______________________________________________
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.