Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Initial Thoughts on HIView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial Thoughts on HIView



on 6/25/03 2:55 PM, Mike Rossetti at email@hidden wrote:

> The Wiring editor also understands the data model as described by the
> application--perhaps it goes so far as to create and edit the data model that
> the application uses. It also allows 'controller' objects to be created that
> represent TCommand constructs. These then can be wired together.

I was trying to figure out how these "controller" objects could relate to
TCommands. I really don't understand their concept of MVC
(Model-View-Controller). I'm no expert here, but my own objects do not pass
view data through the controller. I have separate rendering objects to go
from model to view. I did see a mention of "Transform" objects in the
Controller, which sound suspiciously like Larry Rosenstein's "filters" in
the MacApp book examples. I used the latter for a long time until I needed
to support multi-level undo, and had to rewrite everything to get rid of
filters. Now my command classes work more like the Design Pattern classes
that do a single action to "Do" or "Undo" changes to data in the Model.


--
Gordon Apple
Ed4U
Redondo Beach, CA
email@hidden
_______________________________________________
macapp-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macapp-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Initial Thoughts on HIView (From: Mike Rossetti <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.