• 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
Re: [Newbie] Communication between two Views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [Newbie] Communication between two Views?
      • From: "Hamish Allan" <email@hidden>
    • Re: [Newbie] Communication between two Views?
      • From: "I. Savant" <email@hidden>
References: 
 >[Newbie] Communication between two Views? (From: "Thomas Wickl" <email@hidden>)
 >Re: [Newbie] Communication between two Views? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Creating a styles menu like the one in the ruler accessory view of NSLayoutManager...
  • Next by Date: Re: Getting process table info from within a Cocoa app
  • Previous by thread: Re: [Newbie] Communication between two Views?
  • Next by thread: Re: [Newbie] Communication between two Views?
  • Index(es):
    • Date
    • Thread