A dynamic UI framework for iOS applications.
Add the following dependency to your Package.swift:
dependencies: [
.package(url: "https://github.com/EYDS-CA/standard-components-ios.git", from: "0.1.0")
]Or in Xcode:
- File > Add Packages
- Enter:
https://github.com/EYDS-CA/standard-components-ios - Click Add Package
Initialize the renderer with your configuration:
import StandardComponents
let renderer = AppRenderer(
configuration: .init(
apiBaseURL: URL(string: "https://your-api.com")!,
apiKey: "your-api-key"
)
)
// Use in SwiftUI
struct ContentView: View {
var body: some View {
renderer.render()
}
}