UIViewKit

UIViewKit enables programmatic creation of UIKit views with a SwiftUI-like syntax, replacing Storyboards. It offers strong Swift type checks, simplified attribute and constraint methods, and clean code via @resultBuilder. Includes freeform preview tools.

Why you will like it:

  • No More Storyboards/Xibs: Design UI directly in code, bypassing storyboards and xib files.
  • SwiftUI-Style Syntax for UIKit: Embrace SwiftUI’s declarative approach, but tailored for UIKit.
  • Constraint Configuration Generator: Produce complex AutoLayout setups with a single method.
  • Previews for Views & Controllers: Preview your UIKit views and controllers in code, just like SwiftUI views.