Snorlax 0.2.1

Snorlax 0.2.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2016
SPMSupports SPM

Maintained by Jeff Hui.



Snorlax 0.2.1

The ultimate lazy library. Can cause a thread to sleep for a random amount of time.

This looks useless, what is this really?

Snorlax is a good citizen in the Swift ecosystem. It's a reference implementation to support as many different platforms as possible.

Snorlax currently supports the following platforms:

  • Mac OS X
  • iOS
  • tvOS
  • watchOS
  • Linux

Using the following Package Managers:

Can I try installing it?

Sure, use your favorite package manager. Please note the two different versions:

  • Odd minor versions (eg - 0.1.0) require no dependencies. The latest one is 0.1.0.
  • Even minor versions (eg - 0.2.0) has dependencies. The latest one is 0.2.0.

Swift Package Manager

Add to your Package.swift dependencies:

import PackageDescription

let package = Package(
    // ... your project details
    dependencies: [
        // As a required dependency
        .Package(url: "ssh://[email protected]/jeffh/Snorlax.git", majorVersion: 0)
    ],
    testDependencise: [
        // As a test dependency
        .Package(url: "ssh://[email protected]/jeffh/Snorlax.git", majorVersion: 0)
    ]
)

Manually as an Xcode Subproject

TODO

Contributions

See CONTRIBUTING. Documentation improvements and translations are welcomed!