SwiftUI Views & Layouts

Jun 20 2024 · Swift 5.10, iOS 17.4, Xcode 15.3

Lesson 02: Configuring Layouts

Demo 1

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Now that you know about the importance of landscape orientation, you’ll learn how to use Xcode Previews to preview your views in landscape and solve the problem of part of the layout being out of bounds.

#Preview(traits: .landscapeLeft) {
  ContentView()
}
ScrollView {
See forum comments
Cinema mode Download course materials from Github
Previous: Instruction 1 Next: Instruction 2