Friday, December 19th, 2014

#iOSDevUK: Steve Scott: Sherlocked! Deprecated! Changed! AKA “Do Apple Hate Developers?”

rose tinted glasses

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 community, ...

Wednesday, December 10th, 2014

In Defence of Static

Picture of my app working after I fixed a bug... using extensive unit tests.

Maybe 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 are bad ...

Wednesday, November 26th, 2014

iOS Testing: Handling Asynchronous Code


I 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 main thread - this ...

Monday, November 24th, 2014

The Entire Dev Team is Sick


I'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 ...

Friday, October 24th, 2014

#iOSDevUK: Jon Reid – Controlling Dependencies to Enable TDD

digital wires

My 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 that was ...

Friday, October 17th, 2014

#iOSDevUK – Martin Pilkington: Thinking in NSLayoutContraints

cat in a box

My 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 problems simple (i18n much easier). Requires ...

Wednesday, October 15th, 2014

Better Testing of View Controllers on iOS

Screen Shot 2014-10-14 at 10.32.31 am

When 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 go into ...

Friday, October 10th, 2014

#iOSDevUK: UIKit Dynamics

simulation of the world exploding

My 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 most of the way ...

Friday, October 3rd, 2014

#iOSDevUK: Marcus Zarra – Not Invented Here

“You have a problem so you decide to make a framework. Now everybody has a problem”. @secboffin

Saw 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 up. In career ...

All content © Copyright 2015 by Accidentally in Code.
Subscribe to RSS Feed – Posts or just Comments

Workaholic WordPress Theme by Graph Paper Press