Vincent Tourraine
Blog

Notes WWDC 2022 : What’s new in UIKit

#dev #iOS

Mes notes pour la session What’s new in UIKit de la WWDC 2022.

Productivity improvements

Improved navigation bars

Find and replace

Edit menu

Materials in Sidebar

On by default in overlay sidebar mode

Control enhancements

API refinements

UIKit and SwiftUI

Build cells with SwiftUI:

cell.contentConfiguration = UIHostingConfiguration {
  VStack {
   Image(systemName: "wand.and.stars")
     . font(.title)
    Text("Like magic!")
      .font(.title2).bold()
  }
  .foregroundStyle(Color.purple)
}