Let’s Play Refactor the Mega-Controller - Andy Matuschak

So you’ve got this huge view controller that knows about everything, and it’s become some kind of puppeteer mastermind whose responsibilities have somehow grown to simultaneously encompass disk I/O and navigation bar styling. You’re supposed to change its behavior significantly, but you have zero confidence that you can do this without breaking the world.

Together, we’ll refactor a tangled view controller, unit test it without tons of stubbing goo, and make it easier to change over time. We’ll use general strategies that you can deploy without coming off as some kind of high-falutin’ academic.

  • Andy Matuschak
    NSSpain 2015
# 2015

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×