Firebase is an online database. It’s called ‘Realtime Database’. But it’s much, much more than that. In this post, I’ll go through one of my apps and the process of converting it from my REST API to Firebase. Since this is such a massive topic, this article will cover setting… Read more »
NSCache is a great way to cache items like images. What I wanted was to persist the cached items and at the same time have a cache that’s really easy to use. I came up with a little class that’s using NSCache as a primary cache and the file system as… Read more »
If you want to display complex layout you could easily spend a week working on one view controller. Fortunately, there’s an easier way. You can use a web view to do this. In this article, we’ll take a web page, strip some elements from it, and display it in our… Read more »
With iOS 10 we got access to Siri. We got limited access, but still, we can do some cool things with it. In this post, I’ll go over the details on how to setup Siri in your app and one example use. About SiriKit Not all apps can use SiriKit. At… Read more »
Carthage is a decentralised dependency manager for iOS/OSX. In this post, we’ll see how you can declare your project Carthage compatible and how to use Carthage in your projects. Carthage vs Cocoapods Carthage is a decentralised dependency manager. What this means is that, unlike Cocoapods, it does not rely on… Read more »
I’m pretty sure you already know what cocoapods is, but just in case, it’s a dependency manager for iOS and OS X. It’s a great little thing that makes importing libraries into your projects a breeze. I’ll assume you know how to use cocoapods, so this post will focus on… Read more »
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 »
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 »