Who can live without docker? Hmm, I don’t know someone. The concept is known and I am not going to explain it in this space. What makes me think that worths is to gather a few essential commands to hit the ground running, don’t you think? How to install it Ubuntu 18.04? There are a
Tag: 101
Enumerations 101 in swift
Don’t underestimate the enumerations in Swift. If you come from C or objective C there is a nice surprise for you. Enumeration are not based on integers, can have methods, initialisers, computed properties and conform to protocols. Additionally, we are going to learn about associated values as well, a powerful feature that is engaged in
Structures 101 in swift
Structures is not another type in swift. If you have background in C or objective C you will be impressed with the functionality of structs in swift. Structures have initialisers, methods, comfort to protocols have extensions…convinced? Well, if start thinking that are like classes you are right but…only similar. Major difference is that structures are
Iterating through Collection Types in Swift
Collection types in swift are the arrays, the dictionaries and the sets. Iterating through them is really easy using the for-in loop. The purpose of this article is to gather all the related information in one point, neat? Lets start with the arrays. We have an array of Strings and we want to print the
Continue reading Iterating through Collection Types in Swift
Closures 101 in swift
Closures, what a great tool! Once you get it, you love it. Closures are the famous blocks in Objective-C. Maybe were a bit difficult to understand at first sight. I’ve written three parts in this blog to explain them. However now everything is easier. Closures are vital part in Swift and we will experiment with
Functions 101 in swift
Functions are the building blocks of any application. Let’s start with some obvious characteristics about them. The functions declared using the keyword func. Then follows the function name and the parenthesis containing the parameters, after that there is an arrow “->” and the return type is defined. So, it looks like: Inside the function, we