Using traits to pass values to SwiftUI

  • Using traits in UIKit to toggle dark and light mode
  • Custom traits that bridge to custom SwiftUI Environment values
You need to purchase the book to read this chapter.Learn more about the bookAlready have a copy? Request access.