Latest 1.3.4
License MIT
Platforms ios 8.0, requires ARC
Dependencies jetfire, CocoaAsyncSocket

Vinli Net SDK

A framework for accessing Vinli services.



Install With CocoaPods

pod 'VinliNet'

Install manually, go to your project’s General tab and add the VinliSDK.framework file as an Embedded Binary

OAuth Tutorial

Example project that implements Vinli Auth


Create a VLLoginViewController object and assign it your Client ID and Redirect URI.

VLLoginViewController *viewController = [[VLLoginViewController alloc] init];
viewController.clientId = @"96e9f8e4-0cqq-4528-9040-956e9edz446a";
viewController.redirectUri = @"myApp://";
viewController.delegate = self;

Then present the view controller. The VLLoginViewController will dismiss itself and call the function below once the user has authenticated:

- (void) vlLoginViewController:(VLLoginViewController *)loginController didLoginWithSession:(VLSession *)session

Once the user has a valid VLSession, create a VLService:

VLService *vlService = [[VLService alloc] init];
[vlService useSession:session];

Use VLService to interact with the Vinli services:

[vlService getDevicesOnSuccess:^(VLDevicePager *devicePager, NSHTTPURLResponse *response) {

    } onFailure:^(NSError *error, NSHTTPURLResponse *response, NSString *bodyString) {


Latest podspec

    "name": "VinliNet",
    "version": "1.3.4",
    "summary": "Framework for accessing Vinli services.",
    "description": "Framework for accessing Vinli services for developers",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Vinli Devs": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.3.4"
    "dependencies": {
        "jetfire": [
        "CocoaAsyncSocket": [
    "source_files": "VinliSDK/*.{h,m}",
    "resources": "VinliSDK/*.{js}",
    "requires_arc": true

Pin It on Pinterest

Share This