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

[Newbie] Communication between two Views?


  • Subject: [Newbie] Communication between two Views?
  • From: "Hamish Allan" <email@hidden>
  • Date: Tue, 29 Jul 2008 19:52:30 +0100

---------- Forwarded message ----------
From: Hamish Allan <email@hidden>
Date: Tue, Jul 29, 2008 at 5:09 PM
Subject: Re: [Newbie] Communication between two Views?
To: "I. Savant" <email@hidden>
Cc: CocoaDev list <email@hidden>


On Tue, Jul 29, 2008 at 4:34 PM, I. Savant <email@hidden> wrote:

> I was merely mentioning that your assertion that views should
> communicate with controllers via the model layer (which is what your
> original message seemed to imply) is incorrect as stated because it
> implies this is *always* (or even "usually") the case.

Ah, I read it as "that's not always the case: consider the following example".

>  Further, I was suggesting that your blanket statement that
> controllers shouldn't communicate with one-another (generally or not)
> is incorrect (or at least inaccurate) because such an approach is a
> matter of design, whether because of your 'tastes' or functional
> requirements.

Sure. I should have been more explicit about that. I got the
impression from the OP that he was talking about mediating controllers
(in which case I would argue that my rule of thumb is well-aligned
with the principles of MVC) rather than co-ordinating controllers.

>  Indeed. A lack of concrete specifications in the OP's project or our
> examples so far makes design debates pointless in this discussion. I
> just want to make sure that if we make assertions, we do so without
> ambiguity. Anything less may make someone else's life a whole lot
> harder than it needs to be.

I think it's plain what the OP was trying to do: tie the detail in a
master-detail interface to an object newly added to the collection.
However, as he seems to be using some sort of custom navigation
controller, I can't be sure ;)

>  No harm was intended on my part.

Nor mine!

Hamish
_______________________________________________

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

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

  • Prev by Date: Re: private methods and variables
  • Next by Date: Re: private methods and variables
  • Previous by thread: Re: [Newbie] Communication between two Views?
  • Next by thread: Re: [Newbie] Communication between two Views?
  • Index(es):
    • Date
    • Thread