Ray Wenderlich First iOS SwiftUI App Course - Part 2
Here we go! Consecutive days baby! No need for more info - straight back into the next part of Ray's course.
Start Time - 14:58
Realistically I have 40 minutes here. At least another chapter or two!
Using Interfaces with SwiftUI
This is all about getting the layout done. So probably will just be on this chapter for now.
Phone resolution guide - use to figure out differences between screen sizes. Number of pixels - only important for designers. Developers work in points!
Cool, some good bits about getting to landscape, changing the view on Xcode. All good. But only around 20 minutes left and have barely started this chapter.
SwiftUI Views

Stuff about views. We need four rows of views on a v stack. Side by side for the children views. H stack views within the V stack container.
Cool! I love the whole stack, then adding the text. This is much better than adding the various labels.... so far I definitely prefer SwiftUI.
Challenge!

I need to add in the orange views basically. This is another H Stack.
Nailed it!
Spacer Views
I love these! Just add Spacer() then it sets out everything neatly!
Padding - added s this towards the bottom. Not totally sure on that yet.
So lots of good stuff learned here. I'm really getting to grips with the main features of Swift UI. I massively prefer it to the previous Xcode - that was so fiddly. So am a happy convert so far!
Finish Time - 15:41 (43 minutes)
Start Time - 14:58
Realistically I have 40 minutes here. At least another chapter or two!
Using Interfaces with SwiftUI
This is all about getting the layout done. So probably will just be on this chapter for now.
Phone resolution guide - use to figure out differences between screen sizes. Number of pixels - only important for designers. Developers work in points!
Cool, some good bits about getting to landscape, changing the view on Xcode. All good. But only around 20 minutes left and have barely started this chapter.
SwiftUI Views

Stuff about views. We need four rows of views on a v stack. Side by side for the children views. H stack views within the V stack container.
Cool! I love the whole stack, then adding the text. This is much better than adding the various labels.... so far I definitely prefer SwiftUI.
Challenge!

I need to add in the orange views basically. This is another H Stack.
Nailed it!
Spacer Views
I love these! Just add Spacer() then it sets out everything neatly!
Padding - added s this towards the bottom. Not totally sure on that yet.
So lots of good stuff learned here. I'm really getting to grips with the main features of Swift UI. I massively prefer it to the previous Xcode - that was so fiddly. So am a happy convert so far!
Finish Time - 15:41 (43 minutes)
Comments
Post a Comment