Help with added views
Help with added views
- Subject: Help with added views
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 9 Sep 2003 04:49:45 -0700 (PDT)
I need some help with views.
I have a mainWindow that I am swapping in different
contentViews. I have the elements (textViews, Fields,
buttons, etc) wired to my main controller class. I am
finding that this is not optimal. what I think I need
to do is create a separate class for each view. My
problem is that I can not figure out how to integrate
these classes to.
I mean I understand how to alloc and init a new class
and refer to it. however, this is somehow different,
isn't it? when view1 is visible, its class is the
control class. when I swap out and use view2 in the
main window, its class should be the controlling
class.
maybe I am making more out of this than is necessary.
if this makes sense, could someone point me in the
right direction.
Ted
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
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.