When I was setting up In-App purchases I never dreamed that I’d be spending so much time setting things up on iTunes Connect. Implementing it in the app was actually quite simple. In this article we’ll focus mainly on how to set everything up on your account. At the end… Read more »
In Swift you’ll be constructing objects all the time. It might seem simple at first glance but initializers in Swift are a pretty deep topic. In this article we’ll cover designated and convenience initializers. We’ll touch a bit on the failable initializers, required initializers and initializers in structs. We’ll finish… Read more »
Sometimes it’s better to crash then to have your app running in an inconsistent state. In this short article we’ll cover the options you have for crashing and what are the main differences between them. There’s only five, with some subtle differences. Let’s dive in. Five Ways to Fail You… Read more »
Last week we covered some basics on Optionals. This week we’ll dive in a bit deeper. We’ll take a look at the implementation of the optionals, optional chaining, nil-coalescing operator and a few more goodies. Granted, you’ll probably do just fine knowing the basics, but it’s fun to know how… Read more »
Optionals are one of the major language features of Swift. Understanding what they are and how to use them will be crucial if you want to code in Swift. Hopefully, by the end of this article you’ll get a solid grasp of the foundations and you’ll be a happy swifter…. Read more »
Years ago I read a great book about design patterns: Head First Design Patterns. The book is pretty good and definitely deserves a few words. I’ll keep this article short and sweet. I could go into details about what design patterns are, but I’ll leave the reading to you 🙂… Read more »
You might have heard that some of the swift native types are being converted from classes to structures. In this article, we’ll explore structures and classes, we’ll talk about values, references, stacks and heaps. Hopefully, by the end of it, you’ll understand the differences between them. Reference Types and Value… Read more »
Handoff is a great way for your users to resume an activity on any device. Let’s say your users start reading an article on an iPhone, they can easily continue reading it right where they left off on the iPad, or even on the mac. In this article, we’ll see… Read more »
You probably found yourself in a situation where you had to do a bunch of asynchronous tasks and you just wanted to get notified when all of them finish. There are two easy ways of doing this: DispatchGroup and OperationQueue. We’ll cover them both in this post. The Story We’ll… Read more »
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 »