Coding Exercises: Swift

Coding Exercises: Swift

56mIntermediate2022-05-03

Authors

Károly Nyisztor

Károly Nyisztor

Mobile Developer, Instructor

Course details

Are you a Swift programmer interested in seeing how your skills stack up? Join instructor Károly Nyisztor for Swift Code Challenges, as he presents 12 challenges, starting with a test of basic skills and moving on to more complex tests of your knowledge. Each video is self-contained so you can pick and choose which challenges you want to try, and then compare your answer with the solution with Károly’s explanation (there may be multiple ways to solve each challenge, and yours may be different or even work better). If you’re looking for some practical exercises to work on your coding skills, check out this course.

Skills covered

SwiftAppleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

Introduction

  • Test your Swift skills

Challenges

  • Print the first n odd numbers
  • Swap values
  • Filter prime numbers
  • Count days between two dates
  • Calculate sum(n)
  • Rock, paper, scissors
  • Convert dictionary to JSON
  • Count vowels and consonants
  • Find the missing number
  • Generate random passwords
  • Check palindromes
  • Storing strings securely
40,000 Toman