Kuru is the easy way to manipulating ui data from a server in SwiftUI.
Welcome to Kuru - a toolkit for building native, component-driven UIs on iOS. It is designed to enable teams of any size to quickly build, tweak and ship new UI features, in either new or existing apps. It also makes it easy to build backend-driven UIs.
- iOS 13+
- Xcode 11+
- Swift 5.7+
To run the example project, clone the repo, and open Kuru Example.xcodeproj
from the Example directory first.
Kuru is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Kuru', '~> 0.1.0'
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding Kuru as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/zalazara/Kuru.git", .upToNextMajor(from: "0.1.0"))
]
There are also a series of programming guides that each introduce you to different aspects of the framework.
import SwiftUI
import Kuru
struct ContentView: View {
var body: some View {
Kuru.render(fromData: jsonData)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
You can contribute by fixing bugs or adding new features submitting Pull Requests.
🥷🇦🇷 Alejandro Zalazar, [email protected]
Kuru is available under the MIT license. See the LICENSE file for more info.