Go to file
Alejandro Zalazar 82b9bfd5ff
Merge pull request #5 from zalazara/release/0.1.0
Release/0.1.0
2022-09-15 09:45:08 -03:00
Documentation Updated documentation 2021-04-23 10:09:13 -03:00
Example Updated code to Swift 5.7 2022-09-14 09:34:23 -03:00
Sources/Kuru Updated code to Swift 5.7 2022-09-14 09:34:23 -03:00
Tests Added tests cases 2021-04-26 14:42:35 -03:00
.gitignore Delete build folder 2021-04-26 14:48:32 -03:00
.travis.yml Updated travis CI 2021-04-18 16:29:45 -03:00
Kuru.podspec Updated podspec description 2022-09-15 09:42:22 -03:00
LICENSE Initial commit 2021-04-18 15:41:17 -03:00
Package.swift Update Package.swift 2022-09-15 09:35:34 -03:00
README.md Updated Kuru version 2022-09-15 09:39:52 -03:00
_Pods.xcodeproj Initial commit 2021-04-18 15:41:17 -03:00

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.