Re: [Newbie] Communication between two Views?
Re: [Newbie] Communication between two Views?
- Subject: Re: [Newbie] Communication between two Views?
- From: Wickl thomas <email@hidden>
- Date: Mon, 28 Jul 2008 18:51:27 +0200
Hi,
and thank you for your answer. Yes, the understanding of the MVC-
Problem seems to be my problem. I know how MVC works with one Model,
one View and one Controller but I really don´t understnd how the
controllers of different Views communicate with each other. And I
really don´t find an Example in the documentation that I understand :(
Thanks
twickl
Am 28.07.2008 um 17:53 schrieb I. Savant:
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