UI Design for iOS App Development by Bear Cahill

UI Design for iOS App Development by Bear Cahill

Author:Bear Cahill
Language: eng
Format: epub
ISBN: 9781484264492
Publisher: Apress


© Bear Cahill 2021

B. CahillUI Design for iOS App Developmenthttps://doi.org/10.1007/978-1-4842-6449-2_11

11. UIKit in SwiftUI

Bear Cahill1

(1)Denton, TX, USA

There will likely be times for various reasons you’ll want to use UIKit in your SwiftUI app. No problem.

You may have an existing UI you need to use. Maybe you don’t have time to update or just don’t want to update it. Whether it’s an existing View or your custom view, it can be done. Plus, any existing constraints are respected.

In this chapter, we’ll look at incorporating existing UIKit classes into SwiftUI. This has been considered already for you. It’s not a hack or even discouraged.

There’s a bit of work to do, but the steps have already been laid out for you.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.