Design Patterns in Swift: Singleton

      14 Comments on Design Patterns in Swift: Singleton

Everyone has heard of singletons. It’s probably the simplest design pattern there is, yet, there are a few catches when implementing it. In this post, I’ll go over the singleton design pattern and the little gotchas that might end up in a crash or an inconsistent state of the app. Singleton… Read more »

Using Dependency Injection

      No Comments 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 »

Book Review | Soft Skills: The software developer’s life manual

I came across this book on Amazon by accident: Soft Skills: The software developer’s life manual by John Sonmez. I was looking for some great new books to read, and this book kept popping out in my search results, in my recommended books, everywhere. What got my attention was the… 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 »

Sending Data From Your App to Apple Watch Using WCSession

In one of my previous posts, I talked about how to create a temperature sensor using an Arduino and a BLE breakout circuit, and how to read that data from your iOS app. You can read more about it here: Creating a Temperature Sensor for iOS Using BLE and Arduino. In… Read more »

Creating a Temperature Sensor for iOS Using BLE and Arduino

Today we’ll create something cool, a temperature sensor and an iOS app that connects to it. For this project, we’ll be using an Arduino with a BLE breakout circuit. On the iOS side, we’ll be using CoreBluetooth. Don’t worry if some of these things are unfamiliar to you, I’ll try to… Read more »

Course Review: How to Create a Blog That Boosts Your Software Development Career

I’ve read a great book recently, Soft Skills: The software developer’s life manual by John Sonmez. I borrowed that book to a friend, and somehow he stumbled on a blog course that covers some of the topics covered in the book. Since I enjoyed the book, I decided to give it… Read more »