
Storing data with CoreData
CoreData is a framework for managing object graphs and storing them on disk. It is much more than just offering a persistent storage, therefore the rich API it provides, is… Read more Storing data with CoreData →
CoreData is a framework for managing object graphs and storing them on disk. It is much more than just offering a persistent storage, therefore the rich API it provides, is… Read more Storing data with CoreData →
When building iOS apps it is important to think about how to structure an app and how to connect all the pieces. A typical app has multiple interaction flows and… Read more View coordination with responder chain →
This is a second part of the first post about hashing data using SHA256. Here we will look into CCHmac (Hash-based Message Authentication Code) functions and see how to use… Read more Using CCHmac for creating message authentication codes →
Looking for hashing data using CryptoKit? Please navigate to here. In this post we will look into how to add CommonCrypto to a Xcode project and how to generate hash… Read more Hashing data using CommonCrypto and SHA256 →
We will look into how to make a property observable using a separate class managing the observers. It is an alternative and simple way of observing property changes without using… Read more Making a property observable from outer scope using generic class Observable →
Aim of the tutorial is to get started with ReactiveSwift without any previous setup except having Xcode installed. We will go through how to install it using Carthage package manager,… Read more Getting started with ReactiveSwift →
I got tired of using dark themes and as there were no light themes I liked, I decided to create my own. I present a light Xcode theme to you:… Read more Light Xcode Theme →
RawRepresentable is a protocol in Swift standard library and enables converting from a custom type to raw value type and back. In this post we’ll be looking into how to implement RawRepresentable for enumeration containing an associated value. Conforming to RawRepresentable Implementing RawRepresentable requires three steps: firstly, choose RawValue type; secondly, implement initialiser where RawValue type is matched to one of the cases in the enumeration, and thirdly, rawValue getter where enumeration cases are converted into RawValue type. In the example we’ll be looking into enumeration representing scenes: home, levelSelection… Read more RawRepresentable and associated values →