Войти
  • 5673Просмотров
  • 9 месяцев назадОпубликованоApple Developer

WWDC22: Compose custom layouts with SwiftUI | Apple

SwiftUI now offers powerful tools to level up your layouts and arrange views for your app’s interface. We’ll introduce you to the Grid container, which helps you create highly customizable, two-dimensional layouts, and show you how you can use the Layout protocol to build your own containers with completely custom behavior. We’ll also explore how you can create seamless animated transitions between your layout types, and share tips and best practices for creating great interfaces. Explore related documentation, sample code, and more: Layout containers: ViewThatFits: AnyLayout: Layout: Grid: Composing custom layouts with SwiftUI: Meet Assistive Access: Complications and widgets: Reloaded: What's new in SwiftUI: Build global apps: Localization by example: WWDC22 Day 3 recap: Stacks, Grids, and Outlines in SwiftUI: Building Custom Views with SwiftUI: More Apple Developer resources: Video sessions: Documentation: Forums: App: