Latest 0.0.22
Homepage https://github.com/IBM-Swift/KituraKit
License Apache License, Version 2.0
Platforms ios 10.0
Dependencies SwiftyRequest, KituraContracts


Kitura


Docs


Build Status - Master

macOSLinuxApache 2
Slack Status

KituraKit – A Kitura v2 Client Library

Kitura is a lightweight web framework for creating complex web routes for web applications.

KituraKit allows developers to use the Swift 4 Codable protocol in their front and back end applications and use the same code on the front and backend.

Usage

Cocoapod Installation

  1. Navigate to the root of your project (where your .xcodeproj directory is)

  2. If you don’t already have a podfile, run pod init to create a new podfile in your current directory.

  3. Open the Podfile with your preferred text editer and under the "#┬áPods for ‘your_project_name’>" line add:
    pod 'KituraKit'
  4. Install KituraKit by running the command: pod install

  5. As well as installing KituraKit the pod install also creates an Xcode workspace which contains all of your installed pods. So you’ll need to open the .xcworkspace (not .xcodeproj) to have access to those pods. This is the default behaviour of Cocoapods.

Examples

To run through a FoodTracker tutorial which covers various components of Kitura, including KituraKit, click here

To try out the sample iOS project for yourself, making use of KituraKit, click here.

Swift version

The 0.0.x releases were tested on macOS and Linux using the Swift 4.0.3 binary. Please note that this is the default version of Swift that is include in Xcode 9.2.

Community

We love to talk server-side Swift and Kitura. Join our Slack to meet the team!

Latest podspec

{
    "name": "KituraKit",
    "version": "0.0.22",
    "summary": "KituraKit is a library for making Codable HTTP Requests to a Kitura server",
    "homepage": "https://github.com/IBM-Swift/KituraKit",
    "license": {
        "type": "Apache License, Version 2.0"
    },
    "authors": "IBM",
    "module_name": "KituraKit",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/IBM-Swift/KituraKit.git",
        "tag": "0.0.22"
    },
    "source_files": "Sources/**/*.swift",
    "dependencies": {
        "SwiftyRequest": [
            "~> 2.0"
        ],
        "KituraContracts": [
            "~> 1.1"
        ]
    }
}

Pin It on Pinterest

Share This