Latest 0.0.8
Homepage https://github.com/zettajs/ZettaKit
License MIT
Platforms ios 9.0, requires ARC
Dependencies ReactiveCocoa, SocketRocket
Authors

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.


//How to fully crawl your Zetta API
ZIKSession *session = [ZIKSession sharedSession];

RACSignal *root = [session root:[NSURL URLWithString:@"http://zetta-cloud-2.herokuapp.com/"]];
RACSignal *servers = [session servers:root];
RACSignal *devices = [session devices:servers];

[root subscribeNext:^(ZIKRoot *root) {
  NSLog(@"%@", root);  
}];

[servers subscribeNext:^(ZIKServer *server) {
  NSLog(@"%@", server);  
}];

[devices subscribeNext:^(ZIKDevice *device) {
  NSLog(@"%@", device);  
}];

Requirements

This library requires the following components

  • 'ReactiveCocoa'@'2.4.7'
  • 'SocketRocket'@'0.3.1-beta2'

Installation

ZettaKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "ZettaKit"

Author

Matthew Dobson, [email protected]

License

ZettaKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ZettaKit",
    "version": "0.0.8",
    "summary": "A Reactive Hypermedia Client for the Zetta HTTP API.",
    "description": "This library allows you to harness the power of Reactive Programming to interact with the Zetta HTTP API.",
    "homepage": "https://github.com/zettajs/ZettaKit",
    "license": "MIT",
    "authors": {
        "Matthew Dobson": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zettajs/ZettaKit.git",
        "tag": "0.0.8"
    },
    "social_media_url": "https://twitter.com/zettajs",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "ZettaKit": [
            "Pod/Assets/*.png"
        ]
    },
    "dependencies": {
        "ReactiveCocoa": [
            "2.4.7"
        ],
        "SocketRocket": [
            "0.4"
        ]
    },
    "libraries": "z"
}

Pin It on Pinterest

Share This