iOS Lean Controllers: 2 Controls, Views, Extensions, and Networking

iOS Lean Controllers: 2 Controls, Views, Extensions, and Networking

2h 18mIntermediate2018-09-10

Authors

Mohammad Azam

Mohammad Azam

iOS Developer, Educator

Course details

Learn how to create custom controls when developing iOS applications. This course covers how to handle data providers and data sources, how to improve UI segues, and how to effectively leverage extensions. First, learn about challenges that are encountered when working with common controls. Next, find out how to overcome these challenges by creating custom controls that can successfully pass data using delegates and closures. Then, see how to populate data into the views. Discover how to build better transitions between views using extensions, and explore several protocol extensions. Finally, learn how to build extensions for UI buttons and layouts.

Learning objectives
Creating a custom control for adding new items
Adding a custom initializer
Passing data using delegates and closures
Creating a generic data provider
Implementing a generic data source
Saving records
Adding segues between views
Using lean controllers
Using extensions

Skills covered

XcodeSwiftiOS DevelopmentMobile DevelopmentAppleDeep Dive (X:Y)

Concepts

Creating Custom Controls

  • What's wrong with the current approach
  • Creating a custom add new item control
  • Adding the custom initializer to configure place holder text
  • Passing data from AddNewItemView using Delegates
  • Passing data from AddNewItemView using closures

Generic Data Providers and Data Sources

  • What's wrong with the current approach
  • Creating a generic data provider
  • Implementing a generic TableView data source - Part 1
  • Implementing a generic TableView data source - Part 2
  • Saving records using generic providers and data sources

Building Better View Controller Segues

  • Default segues
  • Modern segues using extensions

Secure TabBar Items Using Protocol Extensions

  • Understanding the scenario
  • Presenting LoginViewController
  • Implementing LoginHandler
  • Creating base TabBarController

Building UIControl Extensions

  • Understanding the scenario
  • Creating UIButton extensions
  • Creating layout view extensions
  • Using layout view extensions
80,000 Toman