Wednesday, January 7th, 2015

Getting KIF Set Up

Kif tests running

Continuing my obsessive testing strategy, I had to set up KIF for UI Automation Tests. Honestly it's surprising I didn't do it earlier, but since the UI is very simple I was getting better ROI doing unit tests - I see KIF as a sanity check, not as a way to debug anything. Step 1: I ...

Friday, December 26th, 2014

#iOSDevUK: Hamish Allan – The Pareto Principle

80/20 modular framing

App store offered a way for people who were interested in writing software to make money from writing software. Have recently found need to do more advertising. Even more recently, take on more and more contract work. Identify as devs, but need to learn more sides of running a business. Pareto principle is thing that can help ...

Wednesday, December 24th, 2014

Getting Started with Adobe Air (or, trying to)

birefringence stress plastic

Recently I had cause to play with Adobe Air, which I missed when it was popular and it’s been pretty hard to find out what is actually going on with it as much of the information is out of date, other than Adobe’s corporate PR engine. It’s supposed to make it really easy to create apps ...

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

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

Workaholic WordPress Theme by Graph Paper Press