Programming
-

#iOSDevUK: Steve Scott: Sherlocked! Deprecated! Changed! AKA “Do Apple Hate Developers?”
→: #iOSDevUK: Steve Scott: Sherlocked! Deprecated! Changed! AKA “Do Apple Hate Developers?”Helpful to take a step back and see where we are. We all tend to view the world through rose tinted glasses. Depend to look through a lens that colours what we are seeing. Unless take them off, hard to see what the situation is. Glasses worn by iOS is “we are indie devs”. Sense…
-

In Defence of Static
→: In Defence of StaticMaybe it’s my functional programming background, but I love static methods. Not everyone gets this, some people parrot the phrase “static methods are bad for testing” but don’t seem to understand what that means. Static methods are great for testing. Inputs in, outputs out, side effects – what side effects? What’s not to love? What they…
-

iOS Testing: Handling Asynchronous Code
→: iOS Testing: Handling Asynchronous CodeI was handling a common occurrence when doing something that takes a noticeable amount of time on iOS. Show loading UI. Do work. Transition to post-work UI. To make the experience better (so that it doesn’t lock up), I pushed 2 onto the background thread, and then had to push 3 back on to the…
-

The Entire Dev Team is Sick
→: The Entire Dev Team is SickI’m working on an app right now. I’ve been working on it since I escaped my gilded cage, modulo distractions – consulting, travel, talks, writing. It’s fun, working on my idea, and thankfully I met a great designer so it’s not going to be Developer Art. And it’s cool. I’ve had a working demo for a while…
-

#iOSDevUK: Jon Reid – Controlling Dependencies to Enable TDD
→: #iOSDevUK: Jon Reid – Controlling Dependencies to Enable TDDMy notes from John Reid‘s talk at iOSDevUK. Barriers to TDD. Two primary: Not knowing what it is. Rejecting it as silly without giving it a try. A good try, as there is a learning curve. It will slow you down at first. If you give up before the payoff then you will say “oh…
-

#iOSDevUK – Martin Pilkington: Thinking in NSLayoutContraints
→: #iOSDevUK – Martin Pilkington: Thinking in NSLayoutContraintsMy notes from Pilky’s iOSDevUK talk. It was so good that after watching it I actually thought I understood AutoLayout (I later discovered I was wrong). His slides (and notes) are here. What is AutoLayout? Constraint based layout system. Define relationships between views. Into in Max OS X 1.07, iOS 6. Makes previously complex layout…
-

Better Testing of View Controllers on iOS
→: Better Testing of View Controllers on iOSWhen I started testing iOS apps, which shamefully was not when I started writing iOS apps, I discovered the biggest impediment to thorough testing on iOS was the View Controller, and it’s mix of UI code, and not. Now I’m working on my first independent app (yay!) of course I am writing extensive unit tests. I won’t…
-

#iOSDevUK: UIKit Dynamics
→: #iOSDevUK: UIKit DynamicsMy notes from Simon‘s excellent talk at iOSDevUK [his slides]. Physics for UIKit. “Visual layers and realistic motion impart vitality and heighten users’ delight and understanding” Buttons used to look like buttons, now they don’t. Don’t have visual cues. Compensate using Dynamics to add some motion. Not for flappy birds. Has tried it, can get…
-

#iOSDevUK: Marcus Zarra – Not Invented Here
→: #iOSDevUK: Marcus Zarra – Not Invented HereSaw woman texting with a T9 phone. Stopped, looked, made sure he saw what he really saw. Presenting from a phone. First presentation, used a projector. Amazing how far we have come. Generally known as an opinionated person. Don’t speak in wishy washy words, very boolean. Either believe or don’t believe. If not, just shut…