2 ms·
That's Massive View Controller pattern with widgets. You might want to check out Model View Controller, with things like drawRect:: and "setNeedsDisplay" or "
by mpweiher 8y ago
That's Massive View Controller pattern with widgets.
You might want to check out Model View Controller, with things like drawRect:: and "setNeedsDisplay" or "setNeedsDisplayInRect:"
Widgets and Massive View Controller are built on top of the MVC framework, and can be more convenient in cases. However, that doesn't mean the underlying MVC framework has disappeared.
UPDATE: And yes, the terminological confusion is awful.
Concept Shadowing and Capture in MVC and its Successors
https://blog.metaobject.com/2017/03/concept-shadowing-and-capture-in-mvc.html https://blog.metaobject.com/2017/03/concept-shadowing-and-ca...
Model Widget Controller (MWC) aka: Apple "MVC" is not MVC
https://blog.metaobject.com/2015/04/model-widget-controller-mwc-aka-apple.html https://blog.metaobject.com/2015/04/model-widget-controller-...
- zoul 8y agoI’m sorry, but the terminology around MVC is completely broken, to the point where it’s completely non-obvious what people mean by MVC. So I don’t understand what you mean.