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.
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" }
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.