Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

#swift

  1. MacToby

    macOS Swift Playgrounds comparison operators

    So, I'm currently learning Swift (with no programming experience at all) with Swift Playgrounds. I am currently on Learn To Code 2 at the level Round Up the Switches. My solution for this level was: var numberOfGems = 0 var numberOfSwitches = 0 func checkTile() { if isOnGem {...