Latest 0.4.1
Homepage https://github.com/the-grid/ImgFlo.swift
License MIT
Platforms ios 9.0, requires ARC
Dependencies SCrypto
Authors

ImgFlo.swift Build Status

Conveniently produce authorized imgflo URLs.

Usage

import ImgFlo

let imgflo = ImgFlo.Client(
  server: "https://yourimgfloserver.com",
  key: "your-imgflo-key",
  secret: "your-imgflo-secret"
)

let graph: Graph = .Passthrough(width: 750, height: 1334)
let imageURL = "http://yourserver.com/yourimage.png"

let URL = imgflo.getURL(graph, input)

Development

Installing dependencies

The following script requires Cocoapods to be installed.

./script/update

Running tests

The following script requires xcodebuild to be installed.

./script/test

Latest podspec

{
    "name": "ImgFlo",
    "version": "0.4.1",
    "summary": "Conveniently produce authorized imgflo URLs.",
    "homepage": "https://github.com/the-grid/ImgFlo.swift",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Nick Velloff": "[email protected]"
    },
    "social_media_url": "https://twitter.com/nickvelloff",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/the-grid/ImgFlo.swift.git",
        "tag": "0.4.1"
    },
    "source_files": [
        "Classes",
        "ImgFlo/**/*.swift"
    ],
    "requires_arc": true,
    "dependencies": {
        "SCrypto": [
            "~> 2.0.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This