Quality Coding

Quality Coding: Europe 2014 Tour


For my European readers: I have two speaking engagements coming up in January 2014. The first is with Mobile Central Europe in Warsaw on January 11. I’m honored to be part of this brand new developer’s conference! Check out the cool conference trailer above.

Then after an eBay iOS Developer Meeting in Berlin on January 13 (for eBay Inc. employees only), I’ll be speaking at eBay Tech Talk in Berlin on January 14 (open to the public).

I hope to meet some of you soon!

September Update: I capped things off with iOSDevUK and NSSpain.

About the Author Jon Reid

Programming was fun when I was a kid. But working in Silicon Valley, I saw poor code lead to fear, with real human costs. Looking for ways to make my life better, I learned about Design Patterns, Refactoring, and Test-Driven Development (TDD). Programming became fun again! I've now been doing TDD in Apple environments for 18 years. I'm committed to software crafting as a discipline, hoping we can all reach greater effectiveness and joy.

follow me on:
Disclosure: The links below are affiliate links. If you buy anything, I earn a commission, at no extra cost to you.
  • PrideChung says:

    Happy new year, Jon. Shame I can’t be there, but they will record your presentation, right?

    • Jon Reid says:

      Yes, it was recorded and should be available pretty soon; keep your eyes on mobilecentraleurope.com

      • PrideChung says:

        Just watched the video, great talk! I was always wondering how to test networking code, and now I’m wondering how do you test UI code, looks like you don’t have time to cover this part in your talk.

        You already talked about testing alert view and action sheet in your blog, but these UI components are different from UIView. They take a model from you like title, text, button titles then turn them into a visual representation, you don’t have to do the heavy lifting like layouting views. But if you write a view from scratch, you need to consider much more, like auto layout, how to test constraints? I just can’t get my head around them.

        • Jon Reid says:

          Glad you liked the talk!

          The thing with view controllers is to move as much out as possible. For me, this means I use Model View Presenter to separate view logic from view representation. Then it becomes similar to the way you describe alert views: I’m testing that the view controller is asked to do the right thing by the presenter.

          For the view controller itself, I TDD the setting of basic properties on standard views. But layouts usually change so much during the course of development that it doesn’t make sense to lock them down with tests.

          • PrideChung says:

            Just did some digging about the MVP pattern, looks pretty similar to MVVM which I heard a lot recently. I will give it a shot, thanks Jon.

  • D Rant says:

    It’s March. I can’t hold rational discussion about how cool Objective-C is anymore because you’ve disappeared.

    Where are you, slacker?

  • >