Category Archives: Tutorials

Unit tests: What, why, where and when?

Working on big projects with big code base composed mainly of “legacy code“, developer’s biggest fear is to introduce something new that might actually break something old. This fear freezes the project with some pieces of code that remain like engraved in stone because nobody wants to touch them. The… Read more »

Unit Tests with Dependency Injection

      1 Comment on Unit Tests with Dependency Injection

A few weeks back I wrote an article on dependency injection and how to use it. Here I’ll cover how to use dependency injection in your unit tests. Dependency Injection I won’t talk a lot about dependency injection in this article, there’s a whole article on the subject, and I… Read more »

Using Dependency Injection

      1 Comment on Using Dependency Injection

In this post, we’ll cover one very useful technique called dependency injection and we’ll look at some examples on to use it in your iOS project. What is it? Dependency Injection is a technique where you would inject dependencies into an object. Let’s say you’re building an app that will display… Read more »

Map Clustering with QuadTrees using GoogleMaps

In this article I’ll explain how to use map clustering with quad trees using GoogleMaps for iOS. This was done back in December 2015 as back then Google did not have map clustering available for iOS. Since then Google have implemented map clustering using the algorithm described. This was a… Read more »

Creating a Simple Keychain Wrapper

      1 Comment on Creating a Simple Keychain Wrapper

In this short blog post, we’ll cover some basics on how to use the keychain on iOS, and we’ll create a simple wrapper for the keychain. You’ve probably heard of an iOS keychain. If not, it’s a secure persistent storage, meant to be used to store sensitive information, like passwords,… Read more »