Re: [Newbie] Communication between two Views?
Re: [Newbie] Communication between two Views?
- Subject: Re: [Newbie] Communication between two Views?
- From: "I. Savant" <email@hidden>
- Date: Mon, 28 Jul 2008 11:53:58 -0400
> I have a question regarding to communication between two Views.
> My tableview creates a view in which the user can enter a text. How do
> I get the text from the View to my tableview?
> The View is created in the following was in my tableview:
Search the documentation for the "Model View Controller" or "MVC"
design pattern. The "controller" layer allows (requires?) controllers
to mediate between your model and view layers. Somewhere there needs
to be a controller that connect to your views and responds to your
editing events by getting the value from your view and doing something
with it.
You *REALLY* need to understand this before you can do anything
useful with Cocoa. The entire framework is built on this concept and
if you don't understand it, you'll be fighting it the entire way.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden