Tune your header file Part 2: Nullability

In the first post I put the focus on the initializers, in this post I would like to put the nullability into the spotlight. I would also explain why is it a good practice, and how it will help you migrate your existing Objective-C code into Swift. Nullable/Nonnull The idea behind using the nullable/nonnull keyword ...

Key-Value Coding aggregation operations on collections

If you have ever worked with SQL queries and the aggregate functions (or in worst case with spreadsheet applications like Excel or Numbers), this topic will be familiar to you. It is usually overlooked, but the Key-Value Coding can also benefit from those functions on collections, like NSArray or NSSet. Obviously the type should support ...

Learn Swift on a Windows machine

02. December 2016 Beginner, Swift, Tools 0
So, you want to learn the language, but don’t want to buy a Mac? It is possible. Actually I have just downloaded the 2nd edition of the Swift Programming from Big Nerd Ranch, when I realised, that I don’t have access to my beloved Mac, only the company’s HP notebook. Free stuff First of all, ...

Code documentation best practices in Xcode

Maybe it is not so obvious for most of the developers, but the documentation of your application and code is crucial in long term. Whoever has ever worked in code maintenance knows this. The general problem is with the documentation is that everybody hates to do it, especially when this somebody is in either rush ...