目录
目录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.

关于
31.1 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号