Wednesday, February 4th, 2015

Some Things I’ve Learned About Performance on iOS

Screen Shot 2015-01-26 at 3.31.36 pm

Filed 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 and vice versa. ...

Wednesday, January 21st, 2015

Creating Test Images and Comparing UIImages


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

Friday, January 9th, 2015

#iOSDevUK – Luke Rogers: The Logic of App Design

converse bag-clothing design by michexist

Design 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 it, figure out what is ...

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

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

Workaholic WordPress Theme by Graph Paper Press