Programming
-

Creating and Comparing Images on Android
→: Creating and Comparing Images on AndroidA while ago, I wrote this blog post on creating and comparing UIImages. That code allowed me to develop the image processing part of the app against my unit tests, which was really, really helpful given that I rewrote it about four times to make it performant enough. So, when I started writing Android code…
-

Four Reasons Unit Testing Needn’t Be That Time-Consuming
→: Four Reasons Unit Testing Needn’t Be That Time-ConsumingOn my mind this week because I’m giving a workshop and a talk on unit testing UI code on iOS. Tests as Documentation. You think you remember what you did and why… but you don’t. Replace debugging. I almost never use the debugger. If something isn’t working as expected, I just start writing tests and figuring out…
-

Cross-Platform Development Decisions
→: Cross-Platform Development DecisionsI’ve started to port Show and Hide to Android. There’s still a lot to do, but I hit a milestone of having it working end to end on the emulator last week, which was exciting. One of my friends asked if I was using any libraries to make it easier, and the short answer is no. But…
-

Some Things I’ve Learned About Performance on iOS
→: Some Things I’ve Learned About Performance on iOSFiled under “things I didn’t realise anyone else would find useful”. The Hybrid App The second iOS app I worked on was a hybrid app, and I became a master of the UIWebView. It looked native. But it didn’t quite feel native because… performance. We had a bridge that connected the iOS to the Javascript…
-

Creating Test Images and Comparing UIImages
→: Creating Test Images and Comparing UIImagesI’ve been working on this app which relates to my obsession with color. It’s an image processing app, and you can see some pictures made with it on our Tumblr. This involved learning about how to take images apart and put them back together, rewriting a lot of stuff in C for performance, etc. But…
-

#iOSDevUK – Luke Rogers: The Logic of App Design
→: #iOSDevUK – Luke Rogers: The Logic of App DesignDesign is a skill you can learn, the same way development is a skill you can learn. Design is not about making it look pretty, small percentage of it. About working out hierarchy, working out what is important. Brainstorm what the user should be able to do. Not “have analytics” Instead “watch a video” Order…
-

Getting KIF Set Up
→: Getting KIF Set UpContinuing 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:…
-

#iOSDevUK: Hamish Allan – The Pareto Principle
→: #iOSDevUK: Hamish Allan – The Pareto PrincipleApp 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…
-

Getting Started with Adobe Air (or, trying to)
→: Getting Started with Adobe Air (or, trying to)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…