The Airsource Blog

Articles with the technical tag

10 Hot Tips for Refactoring Your Javascript

This week I've had a departure from app development to build a web application for a new product we're developing at Airsource HQ. As with any web app this has involved a ton of Javascript, and along the way I picked up a few tips for refactoring that might be useful for your projects. 10 Hot one's as it happens... Read more…

Caching broken on iOS 8 - 3/3

In Part 1 I discussed how NSURLCache is broken on iOS 8, and delivered some source code in Part 2. Now that iOS 8.1 has been released (with absolutely no mention in the release notes about this issue, I ran all the tests again, Read more…

Caching broken on iOS 8 - 2/3

The roundup for the released version of 8.1 is available in Part 3. In Part 1 I discussed how NSURLCache is broken on iOS 8, and promised some source code. The source code is available here, and it is worth taking a closer look at some of the results. Read more…

Caching broken on iOS 8 - 1/3

Part 2, with source code and detailed results, is now available. The roundup for the released version of 8.1 is available in Part 3. Apple have already experienced one PR disaster with the iOS 8.0.1 release which broke cell phone operation for some users. They may be on their way to another problem - less serious this time, but still significant. Read more…

Bound services and retained fragments

Getting background tasks right is important. We want our UIs to remain responsive while the background task does its thing. Here I'm going to focus on Android's 'bound services' and a neat pattern for getting background work done on some shared resource, such as an internet connection and updating UI … Read more…