---------- Forwarded message ---------- From: Hamish Allan <[EMAIL PROTECTED]> Date: Tue, Jul 29, 2008 at 5:09 PM Subject: Re: [Newbie] Communication between two Views? To: "I. Savant" <[EMAIL PROTECTED]> Cc: CocoaDev list <Cocoa-dev@lists.apple.com>
On Tue, Jul 29, 2008 at 4:34 PM, I. Savant <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]