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”
Author Archives: Michele Galvagno
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 – Day 205 to 207
Day 205 100 Days of SwiftUI – Day 19 This day was dedicated to creating our own app from scratch in the form of a Unit Converter. I have some plans on writing about that so I didn’t create a blog post about it yet. Stay tuned for news. Day 206 100 Days of SwiftUIContinue reading “Learning Swift – Day 205 to 207”
Learning Swift – Day 204
100 Days of Swift UI – Day 18 WeSplit – Part 3 Review SwiftUI allows no more than 10 child views inside each parent. If we want to add more we should place our views inside groups. Format specifiers let us control the way numbers are shown inside string interpolation. They use a rather datedContinue reading “Learning Swift – Day 204”
Learning Swift – Day 203
100 Days of Swift UI – Day 17 WeSplit – Part 2 Reading text from the user with TextField Now that we have a clean slate to work on, add three @State properties, an empty String called checkAmount, and two Integer properties, numberOfPeople and tipPercentage initialised to 2. We need to use strings for TextField,Continue reading “Learning Swift – Day 203”
