On a Interface builder, hold down the control button and drag & drop to your UIViewController.
Then, you will see @IBOulet and @IBAction.
When you name your IBAction, try to describe the fact that it was tapped or it pressed.
ex: buttonPressed.
You can see InterfaceBuilder file on your left and Swift file on your right.
Be sure to memorize the following two APIs as they are very useful when you build your apps.
reference : https://www.udemy.com/course/ios-13-app-development-bootcamp/
'iOS' 카테고리의 다른 글
iOS - Alamofire (0) | 2020.08.04 |
---|---|
iOS - UIImageView를 활용한 Animation 구현 (0) | 2020.07.17 |
iOS - TableView Dynamic Cell (0) | 2020.07.14 |
Source Control with Xcode (0) | 2020.07.09 |
iOS - Defer문 (0) | 2020.05.07 |