I've made some really awesome progress on my niche app the past few days. Am hoping to have it on the store soon. #finally
Every time I present "A Better MVC", the #1 piece of feedback I get is "that's nice; where's the code?"
I finally have an answer for you.
I've spent the past 2 days working up a basic "to do" app that applies the principles I talk about. It's not perfect, but I hope it gets the point across:
This is kind of a "well, duh" moment for me, but I *just* realized that setting a "flexible width, flexible height" autoresizing mask and translating into constraints is NOT the same thing as pinning the top, bottom, leading, and trailing edges.
Finally found the source of a bunch of minor layout issues
If you're interested in the slides I presented at #NSSpain on "A Better MVC", I've actually uploaded them for once:
I put in some extra effort to replace animations w/ arrows in the pdf so you can kinda sorta get the same effect. #YoureWelcome
It's basically the idea that, to me (and you're welcome to disagree cuz you know we're all human), a UIView is a *static* thing. You give it text/colors/images to show, and that's it.
To me, *mutating* that, whether immediately or w/ animation, does not belong in a "static" UIView, but belongs to that view's UIViewController.
Thus, UIViewController is responsible for shoving data into your UI and shoving *around* your UI, and not much else. To me, that makes it a View.
He's just this guy, you know?
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!