This is my personal blog where I talk about software.
© 2019. All rights reserved.
Hi!
This is my first blog post ever and, hopefully, it will be the first of many to come.
# `struct` default initializer Swift has an awesome feature regarding `struct`s and their initializer. By default, an initializer is generated so you can create your…
Let's say we want to share a `NSDateFromatter` instance in the scope of a class, for example, a `UITableViewDataSource`. We would declare it like this:…
Lately, I have been doing some TDD in Swift. While following the `red, green, refactor` cycle using the default Xcode test target, I found that…
Last weekend, I stumbled across something while trying to learn MVVM. I was playing with the [Colin Eberhardt's tutorial](http://www.raywenderlich.com/74106/mvvm-tutorial-with-reactivecocoa-part-1) which explains how to set up…
The associated playground can be found [in this repo](https://github.com/Liquidsoul/coredata-saving-contexts)! ## The context I am quite new at using Core Data. I have started to use…