Learning Animations with SwiftUI

100 Days of SwiftUI – Day 32 Learning Swift Day 217 Create a new Single View application, name it “Animations” and save it somewhere sensible. During this process I learned that even if my master folder for the 100 Days of SwiftUI is already under source control, I could put my project under source controlContinue reading “Learning Animations with SwiftUI”

Getting to know SwiftUI – part 2

Learning Swift – Day 209-210 100 Days of SwiftUI – Day 23, second round Yesterday we started to look at views and modifiers. Today we continue down this path. Why modifier order matters It seems that applying a modifier to a SwiftUI view creates an entirely new view (bah…!). If we write this: …which, byContinue reading “Getting to know SwiftUI – part 2”

Getting to know SwiftUI – part 1

Learning Swift – Day 208 Life recap of these days! My birthday’s just passed and I took a day (and a half) off. I also got my first contact with a company with whom I could work in the future but they are not looking for any part-time applicant and, also, they are looking forContinue reading “Getting to know SwiftUI – part 1”

Learning Swift — Days 161 to 163

Hacking with Swift — Learning Project 39: Unit testing with XCTest Introduction This is the last project of the series and the next step will be alternating between learning new stuff, consolidating already known one and polishing existing projects to the point where I can really publish them! I have some ideas but I willContinue reading “Learning Swift — Days 161 to 163”

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”