Monday, January 14, 2019

Add New Day and the DRY Principle - Part 31 - Itinerary App (iOS, Xcode ...

If you've ever wanted to reuse code from another view controller but didn't want to duplicate code then this video is for you. In this video, you will see how I create a new popup view controller based on an existing one. Then how I apply the DRY principle (Don't Repeat Yourself). You will learn how to extract duplicate code into utilities or class extensions.

This is a long video that is broken up into many parts:

  • 00:00 Part 1: Create the Add Day popup 
  • 18:16 Part 2: UIViewController Extension to instantiate themselves 
  • 26:21 Part 3: UITextField Extension to validate themselves 
  • 32:07 Part 4: UITextField Capitalization property 
  • 36:07 Part 5: Saving the Day Model to our data store 
  • 48:00 Part 6: Adding a UITableView Footer for extra space 
  • 49:39 Part 7: Minimizing Data Transfers to save time and money 
  • 54:32 Part 8: Inserting single Sections into a UITableView with animation




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...