Free Download Integrating SwiftUI into UIKit Apps: A detailed guide on gradually adopting SwiftUI in UIKit projects
by Natalia Panferova
English | 2023 | ISBN: N/A | 232 Pages | True ePUB | 124 MB
Discover all the possible ways to add SwiftUI views to an existing UIKit app
See how fast you can develop new components in SwiftUI and preview them instantly in Xcode canvas
Take your existing apps to the next level by adding new iOS 16 features, such as Swift Charts and Lock Screen widgets
Learn how to keep supporting older iOS versions at the same time
Migrate larger parts of your apps to SwiftUI while reusing views and controllers built in UIKit
Take advantage of the new iOS 17 APIs to bridge state between UIKit and SwiftUI
What it covers
Developing user interfaces with SwiftUI: state and data management, styling, layout, accessibility
Learning the fundamentals of the SwiftUI framework to use it and integrate it efficiently
Using Xcode previews when designing and building UI
Integrating SwiftUI inside UIKit views and controllers with UIHostingController
Presenting controllers containing SwiftUI hierarchy programmatically and in storyboards
Setting up data flow between UIKit and embedded Swift components
Sizing and positioning SwiftUI views inside a UIKit controller
Taking full advantage of the new iOS 16 and iOS 17 features
Supporting multiple iOS version at the same time
Building custom collection view cell configurations in SwiftUI
Adding charts built with the new Swift Charts framework to existing UIKit apps
Making widgets with WidgetKit and SwiftUI including iOS 16 Lock Screen widgets
Migrating from UIKit to the SwiftUI app lifecycle
Bringing existing views and controllers built in UIKit into SwiftUI during migration
Wrapping UIKit views and controllers with UIViewRepresentable and UIViewControllerRepresentable to be used in SwiftUI
Previewing UIViewControllers and UIViews in Xcode previews
Setting up bidirectional data flow between wrapped UIKit components and the SwiftUI app
Bridging data between UIKit and SwiftUI using the new Observable framework and custom traits
Code:
Bitte
Anmelden
oder
Registrieren
um Code Inhalt zu sehen!