Beginning Table Views
Aug 28 2018 · Video Course (4 hrs, 16 mins) · Beginner
Learn about Table Views, one of the fundamental aspects of iOS, by building in a Todo app.
4.5/5Version
- Swift 4, iOS 12, Xcode 10
Getting Started
Table views are an integeral part of iOS. In this video, you'll get an overview of them and what this course will cover.
1This episode provides an overview of the app that you'll build in this course. You'll get a bird's eye view of the various features you'll implement to get it working.
2You can either create a table view controller or a regular table view. Both have advantages and disadvantages. This video will walk you through them.
3To display data, you need a table view cell but cells come with a few other features as well. This episode will get you started with them.
4In this challenge you'll add a label to your cell and set the auto layout constraints. Sounds easy? Well, give it a try.
5IndexPath objects act as addresses in your table. In this video, you'll get an understanding of how they'll work.
6With table views, one row is not enough. You'll need a lot more--and your challenge is to make this happen.
7Table views use protocols so in this video, you'll get an overview of protocols and how they can be used.
8A table view defines both a delegate and a datasource which is how you provide data and respond to events. This episode covers how they work.
9Delegation
5:56Delegation is a very important concept in iOS since it's used everywhere. In this video, you'll get an understanding of delegation from the ground up.
10Conclusion
2:05In this episode we'll review what we learned, what you can do to learn more, and what awaits in the next part.
11MVC
Introduction
0:39This episode will cover the basics of working with MVC and why learning MVC is crucial to being a successful iOS developer.
12This episode review each major component of MVC. That is, the model, the view, and the controller.
13Creating a Model
5:14Getting stated with MVC means creating your first model. In this episode, you'll create your model, then update your controller to use it.
14Fixing Checkmarks
3:25While the controller works, the checkmarks are out of sync with the actual data. This episode will show how to fix the bug.
15With one Checkmark instance created, there's only four more to go which also just happens to the topic of your challenge.
16Enhancing the Model
3:51This episode has you create another model object to hold all the instances of your checkmarks. Introducing the todo list.
17With your new todo list in hand, all you have to do is use. Your challenge is to implement it in your controller.
18We're not even through the second part, and your controller is starting to get messy. In this episode, you'll break out the mop and do some code cleaning.
19Conclusion
1:23This video gives a review of MVC, then introduces you to the upcoming part on adding and deleting items.
20Adding and Deleting Items
Introduction
1:15So far your, users of your checklist app can't add or delete items. In this video, you'll get an overview on how that will be accomplished.
21Navigation controllers are a means to display lots of view controllers in your app and you'll learn how to use them.
22Navigation bars can take buttons for you to add interactivity. In your challenge, you'll add one to your app.
23Now's the time to add new check-list items! This video will walk you through the process.
24When a new checklist item is added, your challenge is to give checklist items a random title.
25Swipe to Delete
6:33Table views provide swipe to delete functionality, but it's up to you to do the actual delete action. In this video, you'll learn how to do that.
26Adding a New Screen
7:32So far, this app only has one screeen. You'll take it to the next level by adding a new screen.
27Static Cells
3:42Prototype cells allow you to customize your cells at run time, whereas you customize static cells at build time. You'll add a static cell in this video.
28In this challenge, you'll add a text field to your static table view cell.
29Responder Chain
9:59Understanding the responder chain is critical for working with text fields. You'll the responder chain to work in this video.
30Control Events
6:57There are times when you need to respond to special kinds of events. These are called control events and you'll learn about them in this video.
31Editing Items
Introduction
1:10When you add items, you'll ultimately need to edit them. This video will give you an overview of what this means.
33In this episode, you'll write your own protocol to handle adding new items and canceling item addition.
34Segues
5:09Segues are relationships between view controllers and can also pass information between them. This video will cover the basics of them.
35Making the edit view controller takes some work. Your challenge will to come up with a task list to make it happen.
36This episode covers the use of the detail disclosure indicator and why it is necessary for the todo app.
37Why have one segue, when you can have two? Your task is to create a second segue for editing.
38Segues allow you to gain access to view controllers and then how to pass data to them. In this video, you'll learn how to do that.
39Your challenge is to answer a simple question about your app behavior.
40NSObject
8:52Often times, you can save time and subclass the NSObject to gain additional behavior to your object.
41Xcode Refactoring
3:41You'll often spend time refactoring your code and Xcode provides a few tools to do this.
42Your challenge is to refactor a protocol by way of Xcode's refactor tools.
43Other Table View Features
Introduction
0:50In this final part, you'll get an overview of some other cool table view features that you can incorporate into your app.
45Subclassing table view cells provides a lot of advantages. For one thing, we get IBOutlets and IBActions.
46Moving Rows
6:54Moving rows is actually pretty easy with table views but it means we have to enter mode. Thankfully, that's easy as well.
47Deleting multiple rows means you'll have to enable the selection of multiple rows. This episode walks you through the process.
48Using Sections
5:43In thie episode, you'll rewrite the table view to provide data in sections and you'll do this via the UILocalizedIndexCollation object.
49Indexing Your Table
4:48Table views only you to also create indexes your content. It involves implementing specific methods which you'll do in this video.
50At this point, you'll rewrite the model to organize your todos by priority to be later organized into individual sections.
51With the model completely rewritten, you'll also have to rewrite the controller as well.
52With the model complete and the controller almost rewritten, you'll finish the rewrite by completing sections and correcting any errors.
53In this challenge, you'll provide header titles for all your priority sections.
54In this episode, you'll learn how to move items between sections, allowing you to shift todos between priorty categories.
55Conclusion
2:39This final episode wraps up the entire series and provides some resources on where you might like to go next.
56
Comments