William Boles
  • William Boles

How Unit Tests Protect Creativity and Speeds Up Development

#testing

Everywhere you look, you are being told to write unit tests, but what even are unit tests? Here, we look at what testing is, why you need them, who should write them and when to write them. And ulitmately how unit tests allow you to go faster.

30 Jun 2012 • 9 min read

A Systematic Approach to Unit Test Identification

#testing

A lot of developers rely on intuition to identify the test cases that exist in their apps. This approach leads to inconsistent coverage, missed edge cases and bugs. Here, we look at how to ditch the intuition approach and get systematic in our identification of test cases.

15 Jun 2012 • 13 min read

Testing Through Different Lenses

#testing

Testing isn’t one hurdle but a series of lenses - unit, integration, system, and acceptance. Each reveals different truths and mitigates unique risks. Together, they form an ecosystem of trust that helps teams ship with confidence. Here, we look at that ecosystem.

08 Jun 2012 • 4 min read

How To Win Over a Unit Testing Sceptic

#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 how to win over a unit test sceptic

01 Jun 2012 • 8 min read

Let Dependency Injection Lead You to a Better Design

#testing

Dependency injection is one of the superpowers that developers can utilise to produce code that is more predictable and easier to test. Here, we look at dependency injection - what it is and how we can utilise it.

18 May 2012 • 5 min read

Defensive by Design

#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 designing our types to be defensive.

06 Jan 2012 • 6 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

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

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 • 8 min read

Polling with NSOperation

#concurrency

Sometimes, when you need to know, you need to poll. Here, we look at building a polling mechanism using `NSOperation`.

16 May 2011 • 1 min read

Custom Loading View

#ui

Waiting for something to load is boring but we all have to do it from time to time. Here, we look at how to build a custom loading view that can be reused throughout your app.

02 Feb 2011 • 2 min read

Search Your Table's Data

#ui #core data

Manually scrolling through a list of information to find what we need can be time-consuming, even for modestly sized lists. Here, we look at how to search through a list to find what we need using `UISearchBar`.

24 Jan 2011 • 3 min read

Adding Multi-Threaded Support Simply

#concurrency

Moving work onto a background thread can be hard. Here, we look at how to keep it simple.

21 Jan 2011 • 1 min read
Page 4 of 5

No results for your search, please try with something else.

William Boles © 2025

Home | About | Noteworthy | Mind Maps | RSS
GitHub | Mastodon | Bluesky | LinkedIn

JavaScript license information