Today we go over how to use, what I call, IBDelegates to connect custom delegates to storyboards with Swift 4. In this tutorial, you will learn how to create a delegate protocol that can be connected to an IBOutlet.
Passing data between classes is a major part of development. Although there are several ways you can pass data from one class to another, the delegate pattern is a very popular way to accomplish the task. Being able to have this code connect through storyboards gives us the ability to keep our code clean and focused on functionality.
See what's next on the schedule by checking out my Trello board:
https://trello.com/b/TNhRZsB2/kilo-lo...
The finished project is available to any students of the free YouTube On my website. Make sure you enroll today:
https://www.kiloloco.com/p/youtube
If you have any questions or comments about the tutorial, or want to suggest a video to make, feel free to leave a comment below, or reach out to me on Twitter:
https://twitter.com/kilo_loco
If you found this tutorial helpful, make sure to subscribe to the channel for more great tutorials.
IBDelegates: Connecting Custom Delegates to Storyboards | Swift 4, Xcode 9 video editing software free | |
| 74 Likes | 74 Dislikes |
| 1,939 views views | 15.6K followers |
| Science & Technology | Upload TimePublished on 5 Oct 2017 |
Không có nhận xét nào:
Đăng nhận xét