• 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
Question about MVC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about MVC


  • Subject: Question about MVC
  • From: "Craig Dooley" <email@hidden>
  • Date: Wed, 26 Apr 2006 08:01:23 -0400

I am trying to write a cocoa networking app, and need to have my view
initiate a data send to another host.  I was wondering if there is a
standard way to have a view send information back to the controller.

I have thought of a couple ways to work around it, like using a
delegate, or keeping an instance variable of my app controller in the
view, and of the two, i like the idea of a delegate better.  I would
like the keep the separation of the controller, and not call model
functions directly.

I am sorry if this is a simple topic.  I checked the Hillegass book,
and "Learning Cocoa with Objective-C" and did not find anything about
a view sending data back to a controller.

-Craig
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question about MVC
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Core Data: Save As workflow
  • Next by Date: Tables showing different kinds of core data entities
  • Previous by thread: subclass NSSlider and NSSliderCell
  • Next by thread: Re: Question about MVC
  • Index(es):
    • Date
    • Thread