iOS Tutorial

How To Use Swift Switch Case Example

Switch case is a powerful condition check expression which exist in many programming languages. But in swift, switch case expression add some useful features in usage, it provide more powerful usage than other programming language. This article will show you some swift switch case usage examples to show the differences.

How To Fix Error ‘Value Of Optional Type Must Be Unwrapped To A Value Of Type’ In Swift

There are three kinds of variable declaration in swift programming. You can declare a swift variable as a variable (var name: String = “jerry “) that value can be changed in code, a constant ( let x:Int = Int(10) ) that value can not be changed, and an optional variable ( var x:Int? ) that …

How To Fix Error ‘Value Of Optional Type Must Be Unwrapped To A Value Of Type’ In Swift Read More »