If you ever needed to share data between your iOS apps and/or your application targets, there’s a very easy way to do this using app groups. In this post we’ll see how to share data between two apps and we’ll even build a small library that will make sharing of… Read more »
If you need to know when a file has been modified, renamed, deleted… there’s an easy way to do it using dispatch sources. In this post, we’ll create a simple library that will notify you when a file has been changed. I know I say this every time, but I’ll… Read more »
There are more ways than one to do concurrent operations on iOS. In this article, we’ll cover how to use Operations and OperationQueue to execute concurrent operations. There’s a lot to be said (and written) about concurrency on iOS and I don’t really want to bore you to death by… Read more »
If you started your iOS development career in Objective-C, especially pre ARC Objective-C, you’re probably very familiar with the above-mentioned concepts. If you started with Swift, some of them might be a bit murky, hopefully, by the end of this post, you’ll get to know them a bit better. A… Read more »
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 »
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 »
Generics is one powerful feature of swift that allows us to work with generic types. In this article, we’ll cover what generics are, and how to use them in your project. Generics You must have come across the term ‘generics’ when working in swift. They’re those funky things in angle… Read more »
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 »
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 »