inout variables swift – how it works ? Swift function parameters are by default constant type. That means you can not change parameter value inside the function body. In such case, if you need to change values then use inout keyword before the parameters. To understand this, let’s see below example of swapping to values… Read More »
Implicit conversion in swift Values are never converted implicitly in swift programming. You need to convert them explicitly. For example :
let label = "The width is "
let width = 94
let widthLabel = label + String(width)