82b9bfd5ff
Release/0.1.0 |
||
---|---|---|
Documentation | ||
Example | ||
Sources/Kuru | ||
Tests | ||
.gitignore | ||
.travis.yml | ||
Kuru.podspec | ||
LICENSE | ||
Package.swift | ||
README.md | ||
_Pods.xcodeproj |
README.md
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.
Documentation
Requirements
- iOS 13+
- Xcode 11+
- Swift 5.7+
Example
To run the example project, clone the repo, and open Kuru Example.xcodeproj
from the Example directory first.
Installation
CocoaPods
Kuru is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Kuru', '~> 0.1.0'
Swift Package Manager
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"))
]
Getting started
There are also a series of programming guides that each introduce you to different aspects of the framework.
Basic implementation
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()
}
}
Contributing
You can contribute by fixing bugs or adding new features submitting Pull Requests.
Author
🥷🇦🇷 Alejandro Zalazar, azalazar@outlook.com.ar
License
Kuru is available under the MIT license. See the LICENSE file for more info.