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 »
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 »
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 »
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 »
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 »
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 »
We all hate entering passwords on our devices, you have to remember the right password, type it in… It’s a drag. Well, since iPhone 5S we’ve got a fingerprint sensor, also called Touch ID. We would normally use it to unlock the device and/or to verify your account just before you… Read more »
With iPhone 6s came the 3D touch, and with it we got a few more options to interact with the users. In this short blog post we’ll examine one of those options called ‘Application Shortcuts’, or sometimes called ‘Home Screen Quick Actions’, we’ll call them application shortcuts, because it’s shorter…. Read more »
You all heard of Siri 🙂 It’s an online Voice Command and Text-To-Speech engine. Recently I ran into a great framework for offline voice command and text to speech, and it works great. It’s called OpenEars and you can read more about it on that link. I wanted to try it… Read more »
Creating a grayscale image is not a problem in iOS, but I wanted to be able to animate an image view from grayscale to full color. It turned out to be a pretty simple operation, all you have to do is create a grayscale image, and fade-in the original image…. Read more »