Beginning Table Views

Aug 28 2018 · Swift 4, iOS 12, Xcode 10

Part 1: Getting Started

07. Challenge: Creating More Rows

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 06. IndexPaths Next episode: 08. Introduction to Protocols

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 07. Challenge: Creating More Rows

The slide in the video is incorrect. The provided code should be: if indexPath.row % 5 == 0 { label.text = "Take a jog" } else if indexPath.row % 4 == 0 { label.text = "Watch a movie" } else if indexPath.row % 3 == 0 { label.text = "Code an app" } else if indexPath.row % 2 == 0 { label.text = "Walk the dog" } else if indexPath.row % 1 == 0 { label.text = "Study design patterns" }