Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zalazara/kuru
iOS library for SDDUI (Server Data Driven UI) in SwiftUI
https://github.com/zalazara/kuru
cocoapods ios lowcode serverdrivenui swift swift-package-manager swiftui ui xcode
Last synced: 2 months ago
JSON representation
iOS library for SDDUI (Server Data Driven UI) in SwiftUI
- Host: GitHub
- URL: https://github.com/zalazara/kuru
- Owner: zalazara
- License: mit
- Created: 2021-04-15T11:59:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-15T12:50:26.000Z (over 2 years ago)
- Last Synced: 2024-10-14T19:40:20.668Z (2 months ago)
- Topics: cocoapods, ios, lowcode, serverdrivenui, swift, swift-package-manager, swiftui, ui, xcode
- Language: Swift
- Homepage:
- Size: 30.3 MB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](Documentation/Assets/cover.png)
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](#requirements)
- [Example](#example)
- [Installation](#installation)
- [Getting started](#getting-started)
## 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](https://cocoapods.org). To install it, simply add the following line to your Podfile:
```ruby
pod 'Kuru', '~> 0.1.0'
```### Swift Package Manager
The [Swift Package Manager](https://swift.org/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.
- [Component programming guide](https://github.com/zalazara/Kuru/blob/master/Documentation/Component.md)
- [Json programming guide](https://github.com/zalazara/Kuru/blob/master/Documentation/JSON.md)
- [Function programming guide](https://github.com/zalazara/Kuru/blob/master/Documentation/Function.md)### Basic implementation
```swift
import SwiftUI
import Kurustruct 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, [email protected]
## License
Kuru is available under the MIT license. See the LICENSE file for more info.