• 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: "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

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

  • Prev by Date: Access to events in tight loop?
  • Next by Date: Inconsistent Socket Communications
  • Previous by thread: [Newbie] Communication between two Views?
  • Next by thread: Re: [Newbie] Communication between two Views?
  • Index(es):
    • Date
    • Thread