Swift

How To Connect Storyboard UI Component To ViewController Class Code

When we develop iOS app use Xcode, we design the app GUI ( graphical user interface ) in Main.storyboard file. And the swift source code is edited in ViewController.swift file. But how to use swift source code in ViewController.swift file to modify storyboard UI component’s attributes or process UI component’s action event? This article will …

How To Connect Storyboard UI Component To ViewController Class Code Read More »

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.

Index