Hacking with Swift — Learning Project 38 GitHub Commits Introduction I apologise, this is the second to last project of Hacking with Swift. I still cannot believe I am slowly reaching the end of the first part of this great journey into the wonderful world of Swift. I have so many things in mind forContinue reading “Learning Swift — Days 157 to 160”
Tag Archives: Swift
Learning Swift — Day 152 to 154
Hacking with Swift — Learning Project 36 Crashy Plane Setting up Create a new Xcode project based on the Game template, select SpriteKit as language and call it “Crashy Plane”, then save it somewhere sensible! We are going back to SpriteKit, aren’t you incredibly excited?! Creating a player: resizeFill vs aspectFill Delete the Actions.sks fileContinue reading “Learning Swift — Day 152 to 154”
Learning Swift — Day 150 to 151
Hacking with Swift — Learning Project 35 Random Numbers Setting up Create a new iOS playground and call it “Random Numbers”. Save it somewhere sensible. Generating random numbers without GameplayKit This is how modern Swift (post 4.2) manages it: Old-fashioned randomness The arc4random() function returns numbers between 0 and 4.294.967.295 … To generate a randomContinue reading “Learning Swift — Day 150 to 151”
Learning Swift — Day 147 to 149
Hacking with Swift: learning project 34, Four in a Row Setting up Create a new Xcode project, call it “Four in a row” and save it somewhere sensible. Set its deployment info to use only iPad and to be only in Landscape orientation. Creating the interface with UIStackView Open Main.storyboard, select the view controller andContinue reading “Learning Swift — Day 147 to 149”
Learning Swift — Day 145 to 147
Hacking with Swift: facing Project 33’s challenges Recap This was truly a huge project and even if some things do not work as intended (and, sincerely, the teaching material was not thorough enough on the CloudKit dashboard…) I still learned a lot of things. Would I be able to reproduce this project alone blindfolded? AbsolutelyContinue reading “Learning Swift — Day 145 to 147”
