#gamedev #iOS #Swift5 #UnitTest #TDD
Had to add a new property to autogenerate a range that will be used for the game levels. Also a method (function) to filter only numbers that are divisible by 3, 5 & 7.
See how to use map and filter in the wild.
Closures: https://docs.swift.org/swift-book/Lan...
Sign up for my email list to see all the code as I build it: https://mailchi.mp/c9c01dee899a/welco...