Posts

Showing posts with the label scroll views

Ray Wenderlich Course - SwiftUI (Part 6)

So last week wasn't a GREAT one for coding. I did a bit more work on the practising side of things and have got used to Swift UI for several of the features. Back to Laurie's course now. I reckon 3 or 4 more entries! Start Time - 15:56 Scroll Views and Stacks Right first few minutes or so typing out code to catch up on! The scroll view is literally that - being then be able to scroll across the screen horizontally for this example.     ScrollView (. horizontal ) {              HStack {                  ForEach ( Book . demoBooks ) { book in             VStack {                 Text (book. title )             . padding ([. leading , . top , . trailing ])             Image (book. imageName )               ...