Re: MVC roles of objects in pattern
Re: MVC roles of objects in pattern
- Subject: Re: MVC roles of objects in pattern
- From: "ad veloper" <email@hidden>
- Date: Fri, 5 Oct 2007 22:56:39 +0100
Is it not the case that certain kinds of objects will exist in the model as
well as the view?
I think what I'm saying is that my OpenGLView class depends upon a Camera
object for deciding all sorts of things inc. how things should be rendered,
but also that it's useful to be able to store cameras (copies of the view
camera) in an array as part of the model, and then update the OpenGLView's
camera when the selected camera changes, and save them to persistent store
etc.
Without this array of cameras, I still have a fully functioning view, but
without any kind of camera, I can't even code it!
_______________________________________________
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