Programming

Wednesday, November 26th, 2014

iOS Testing: Handling Asynchronous Code

asynchronous

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

IMG_7022

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


Wednesday, September 10th, 2014

A Little Bit Of Data is a Dangerous Amount

Data Center - NCC

When you have no data, everyone agrees: need more data. When you have a lot of data, what is happening is pretty clear. When you have a little bit of data, people can extrapolate. "It might show X", "It might show Y". Often declared without the caveats. Because "we don't really know" is a much less compelling story, even if ...


Wednesday, September 3rd, 2014

Impostor Syndrome

Windy day

I’ve rejected a number of posts for today, because I worry that whatever comes next will be taken in the context of this. Because today is a day where the schedule says, write about women, and I think, I should write something positive. And there is so little positive to say about women in tech. ...




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

Workaholic WordPress Theme by Graph Paper Press