All Projects → tarunon → UIViewBuilder

tarunon / UIViewBuilder

Licence: other
Generate UIKit (not SwiftUI) components from FunctionBuilder.

Programming Languages

swift
15916 projects

UIViewBuilder

Alternative SwiftUI using pure UIKit. Support from iOS9. This is WIP project. All API isn't fixed.

Let's try these functions in Example app.

HostingController {
  VStack {
    if isHello {
      Label(text: "hello")
    } else {
      Label(text: "good night")
    }
    Label(text: "world")
  }
}

HostingController {
  List {
    ForEach(data: [0..<1000]) {
      Label(text: "\($0)")
    }
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].