New Course: Your Second Swift 4 & iOS 11 App
Check out our new 44-part course on Swift 4 and iOS 11 development for beginners! By Brian Moakley.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
New Course: Your Second Swift 4 & iOS 11 App
10 mins
As part of our iOS 11 Launch Party, we are releasing a ton of new and updated courses for raywenderlich.com subscribers.
It’s time for our third new course: Your Second Swift 4 & iOS 11 App!
This course is an excellent way to continue learning after you’ve completed the Your First Swift 4 & iOS 11 App and Programming in Swift courses that we released over the past two weeks.
In this epic 44-video course, you’ll get back into app development and put your new Swift skills to work. You’ll build what many iOS developers consider a rite of passage: a To Do app!
This is a complete overhaul of our Beginning iOS: Checklists course. If you’re ready to continue your journey to learn iOS development, this course is for you! Let’s see what’s inside.
Section 1: Table Views
In this section, you’ll get started with one of the most common views in iOS: the Table View.
This section contains 11 videos:
- Introduction: In this video, you’ll get an overview of what you are building and you’ll be introduced to a very important view in iOS: the Table View.
- App Design: This video will provide you an overview of the checklist To Do app.
- Table Views: Table views are a critical component in iOS for displaying information. You’ll get started by adding your first one.
- Challenge: Add a Label: Now that you have a cell in play, your challenge is to add a label to it.
- Table View Cells: Everyone loves recycling. Even table view cells! In this video, you’ll learn to recycle by the way of reuse identifiers.
- Protocols: Protocols are a means of defining similar behavior to unrelated objects. In this video, you’ll learn to create them.
- Challenge: Add More Rows: So far, your app is only showing one row. Your challenge is to have it display five of them.
- Adding Cell Content: Cells can also contain iOS controls, but you’ll need to update the content of them. In this video, you’ll learn how to access the controls.
- Challenge: Add More Content: Your challenge is to provide custom text to a cell based on the index path of the row.
- Table View Delegates: Table views can respond to a variety of events by means of delegates. In this video, you’ll learn how to create your own delegate.
- Conclusion: With your introduction to table views complete, it’s time to move on to greener pastures – MVC.
Section 2: MVC
In this section, you’ll learn what design patterns are, and implement one of the most popular ones in iOS development: Model View Controller.
This section contains 9 videos:
- Introduction: Design patterns provide solutions to common problems. MVC is a popular design pattern for organizing your code, and this video will introduce it to you.
- Model View Controller: This video covers the basics of model view controller and how it applies to the app that you are building.
- MVC First Attempt: In this video, you’ll take a first stab at implementing MVC into your app.
- Remove Duplication: Code duplication is the bane of every app developer. In this challenge, your job is to get rid of it.
- Classes and MVC: One good practice is to keep your model objects out of your view controller. You’ll do that in this video by creating your own model class.
- Incorporating Arrays: Your app is going to contain lots of checklist items. Arrays make for a great structure for keeping them grouped together.
- Challenge: Add More Items: In this challenge, you’ll be adding more checklist items to your To Do app.
- Refactoring: As your app grows in size and complexity, you’ll want to keep it organized. In this video, you’ll learn what it means to refactor your code.
- Conclusion: With your app refactored to conform to the MVC design pattern, you’ll get an overview of the task of the next section. That is, adding and deleting checklist items.
Section 3: Adding & Deleting Items
In this section, you’ll make your checklist app more functional by allowing users to add and delete items. Learn about navigating between multiple screens, static cells, and the responder chain.
This section contains 12 videos:
- Introduction: So 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.
- Navigation Controllers: Navigation controllers are a means to display lots of view controllers in your app and you’ll learn how to use them.
- Challenge: Add a Bar Button: Navigation bars can take buttons for you to add interactivity. In your challenge, you’ll add one to your app.
- Creating New Checklist Items: Now’s the time to add new checkklist items! This video will walk you through the process.
- Challenge: Checked by Default: When a new checklist item is added, your challenge is to make the checklist items to be checked by default.
- Swipe to Delete: Table 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.
- Adding a New Screen: So far, this app only has one screeen. You’ll take it to the next level by adding a new screen.
- Static Cells: Prototype cells allow you to customize your cells at run time, whereas static cells, you customize them at build time. You’ll add a static cell in this video.
- Challenge: A Text Field: In this challenge, you’ll add a text field to your static table view cell.
- Textfields & Responder Chain: Understanding the responder chain is critical for working with text fields. You’ll the responder chain to work in this video.
- Control Events: There 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.
- Conclusion: This video wraps up the process of adding items to your To Do app.
Section 4: Editing Items
In this last section, you’ll finish up your app by allowing users to edit items on their list. Learn about delegates, segues, and Xcode’s refactoring tools.
This section contains 12 videos:
- Introduction: When you add items, you’ll ultimately need to edit them. This video will give you an overview of what this means.
- Delegates: Delegates allow you to respond to events not just in controls but in other view controllers.
- Segues: Segues are relationships between view controllers and can also pass information between them. This video will cover the basics of them.
- Challenge: Edit View Controller Checklist: Making the edit view controller takes some work. Your challenge will be to come up with a task list to make it happen.
- Detail Disclosure Indicator: This video covers the use of the detail disclosure indicator and why it is necessary for the To Do app.
- Challenge: 2nd Segue: Why have one segue, when you can have two? Your task is to create a second segue for editing.
- Passing Data in Segues: Segues 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.
- Challenge: Dismissing the Edit Controller : Your challenge is to answer a simple question about your app behavior.
- NSObject: Often times, you can save time and subclass NSObject to gain additional behavior to your objects.
- Xcode Refactoring: You’ll often spend time refactoring your code and Xcode provides a few tools to do this.
- Challenge: Refactor Protocol: Your challenge is to refactor a protocol by way of Xcode’s refactor tools.
- Conclusion: This video wraps up work on the To Do list app and it will show you where to go.