William Boles
  • William Boles

Coalescing Operations - Take 2

#concurrency #networking

The previous coalesing operations post looked at how to avoid duplicate work by combining that duplicate work into one. Here, we look at how to do that even better than before.

18 Sep 2016 • 7 min read

Unleashing your build settings

#xcode

Bye-bye Preprocessor Macros, hello Custom Flags. Here, we look at how to switch to using Custom Flags to store configuration-specific build settings.

12 Sep 2016 • 3 min read

Coalescing Operations

#concurrency #networking

NSOperations are a powerful way to move work off the main thread. But just because work is undertaken on a background doesn't mean we don't care about it. Here, we look at how to coalesce duplicated work.

28 Aug 2016 • 6 min read

Interviewing without wasting anyone's time

#interviewing #management

Constructing an effective interview process is challenging. Ask too much of candidates, and the best ones will have an offer from elsewhere before they finish your process. Ask too little and misfire on a hire. Here, we look at how to hit that sweet spot in between.

03 May 2016 • 6 min read

Plug and play parsers

#networking

Parsing an API response into an app type is fundamental to any networked app. Here, we look at how to build a consistent response parsing approach to make that task easier than ever before.

11 Apr 2016 • 5 min read

Linting your podspec after introducing Swift

#cocoapods

Migrating any project from Objective-C to Swift is full of pitfalls. These pitfalls exist not just in the code itself but also the supporting structure. Here, we look at one of those pitfalls related to cocoapods.

30 Mar 2016 • 3 min read

Considering pages when caching a JSON response

#networking #core data #stackoverflow-api

When working with offset pagination, the page is often thrown away. Losing that content to page relationship can make merging new content into existing cached content tricky. Here, we look at how to keep the page around and simpilify things.

27 Mar 2016 • 10 min read

Runnable test schemes for Travis CI

#ci #xcode #testing

No one said running your unit tests on Travis CI would be easy. Who knew running tests via the Xcode UI wasn't the same as running those tests via the terminal 🤷‍♂️? Here, we look at how to prepare your test targets for running on Travis CI.

27 Feb 2016 • 1 min read

Networking with NSOperation as your wingman

#networking #concurrency #stackoverflow-api

No one wants networking code scattered everywhere. Here, we look at how to utilise NSOperation to encapsulate each networking request within its own cancellable unit of work.

04 Feb 2016 • 7 min read

Objective-C Coding Style

#style guide #management

Everyone has a view on how to style code. None of that matters. What matters is that, as a team, you agree on the most important styles to enable developers to feel a sense of familiarity when navigating the project, regardless of who wrote the code. Here, we look at some style rules.

22 Dec 2015 • 12 min read

Merging teams

#management

People don't like change. People are resistant to learn a new way of achieving the same outcome. Communication and backbone are essential to make change happen. Here, we look at how to merge teams in a way that is shaped by feedback but not held up when that feedback is unreasonable.

28 Jul 2015 • 6 min read

The benefits of building your app in different projects

#management

Splitting your code into smaller pieces is a great way to reduce the complexity of that code. It's the same for your project. Here, we look at how to extract functionality from a project into its own project, adapt it to its new purpose and integrate it back into the project from which it came.

25 Oct 2013 • 5 min read

Invest in Dumb view controllers for the sake of your unit tests

#testing

When extracting functionality, we are often trading local complexity for communication complexity. A useful mental framework for knowing if that exraction is worthwhile is Single Responsibility Principle (SRP). Here, we look at how to extract functionality from a view controller using SRP.

05 Jan 2013 • 3 min read

Depend on nothing for your unit tests

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

17 Dec 2012 • 4 min read
Page 3 of 6

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