Black and white box unit testing techniques #testing What is blackbox testing? What is whitebox testing? Here, we look at both techniques and how they can be utilised to ensure that the tests we write thoroughly test our production code. 09 Aug 2012 • 4 min read
The benefits of unit testing #testing You are a great developer, so why go through the hassle of writing unit tests? Here, we look at the reasons beyond writing unit tests and why great developers write them. 16 Jun 2012 • 5 min read
Producing documentation with appledoc #documentation Some code is inherently murky, and good naming practices can only take us so far — looking at you, animation code. Where the intent of code is hard to decipher, high-quality developers use documentation to overcome that murkiness. Here, we look at to use appledoc to produce documentation. 05 Jun 2012 • 5 min read
A walkthrough of testing a class #testing What to test? How to test? Are two questions that every developer new to unit testing faces. Here, we look at how to answer those questions by walking through the process of testing a class. 01 Jun 2012 • 5 min read
Test only what you need to work #testing Everywhere you look, you are being told to write automated tests, but what even are automated tests? Here, we look at what testing is, why you need automated tests, who should write them and when to write them. 18 May 2012 • 12 min read
Naming trouble with a new certificate #provisioning Names are tricky. Certificates are tricky. Combine them and you have a tricky implosion. Here, we look at why naming your certificates matters. 18 Jan 2012 • 1 min read
Hide behind your interface #testing Oversharing is bad. Social media taught us this. But so did `101 Introduction to Object Oriented Programming`. Here, we look at how to avoid oversharing by respecting encapsulation. 06 Jan 2012 • 3 min read
Building delegates like they do in UIKit #protocols #ui We've all written delegates, but sometimes our delegates require more information than what we receive from UIKit. Why is this? Here, we look at how conforming our protocol to NSObject brings us closer to UIKit delegates. 07 Dec 2011 • 1 min read
Disable the menu for a textfield #ui Change is inevitable. And with iOS 5, that change has come for `UITextField`. Here, we look at how to disable the context menu on a UITextField instance. 17 Nov 2011 • 1 min read
De-stringing entity descriptions #core data Working with stringy APIs is prone to runtime errors, as the compiler can only enforce that a string is there or not, rather than if the value is correct or not. Core Data loves a stringy API. Here, we look at how to enhance the compiler's involvement with Core Data by de-stringifying the API. 22 Oct 2011 • 2 min read
Releasing self #memory management When to let go is a question that plagues us all. Here, we look at when to let go of self. 18 Oct 2011
Sorting with sort descriptors #sorting Sorting is fundamental to any app. Here, we look at going beyond simple sorting with `NSSortDescriptor`. 20 Sep 2011 • 2 min read
Consuming a web feed #networking Making a network call and consuming the response is common to most app. But how do we do it? Here, we look at building a networking layer to consume an XML response. 28 Aug 2011 • 9 min read
Keeping things @class-y #xcode #errors Do you know how to use a promise to avoid an import circular dependency? Here, we look at how `@class` is a promise to do just that. 29 Jun 2011 • 1 min read