• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Help with added views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: anything for cocoa other than java or obj-c?
  • Next by Date: is there a problem with the dec 2002 updater
  • Previous by thread: Re: anything for cocoa other than java or obj-c?
  • Next by thread: is there a problem with the dec 2002 updater
  • Index(es):
    • Date
    • Thread