Swift: Delegations and Data Sources

Swift: Delegations and Data Sources

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 06m | 250 MB

Have you ever been frustrated getting data from one storyboard scene to another using delegates? If so, then this concise course is for you. Discover how to work with delegates and data sources, two essential—but tricky—concepts that can confuse even seasoned iOS developers. Get the foundation you need to understand delegates and the theory of how they work. View examples demonstrating the steps to build a delegate in both the iOS and watchOS context, and learn how to use a data source in a playground. To wrap up, review the use of delegates and data sources in Apple factory classes.

Topics include:

  • Reviewing the basics of classes
  • Model-View-Controller (MVC) programming pattern
  • Using segues and contexts to move information to a destination view controller
  • Making and implementing a delegate
  • Using a data source
  • Delegates and data sources in Apple methods
Table of Contents

Introduction
1 Welcome
2 What you should know
3 How to use the exercise files

The Basics of Classes and MVC
4 What is a class
5 Model
6 View
7 Controller

Delegation
8 Destination view controllers in code
9 Destination view controllers in storyboards
10 Delegates in theory
11 Delegates in iOS code
12 Delegates in iOS storyboards
13 Contexts in watchOS
14 Delegates in watchOS

Data Sources
15 Data sources
16 Delegates and data sources in Apple methods

Conclusion
17 Next steps