Latest 1.0.2
Homepage https://github.com/kimar/OnelinerKit
License MIT
Platforms osx 10.9
Authors

Twitter: @Kidmar
License
TravisCI

Create text based screensavers for macOS.

Banner

Getting Started

To get started just add OnelinerKit.framework as a dependency to your ScreenSaver project, inherit from OnelinerView and override func fetchOneline e.g.:

class DeveloperExcusesView: OnelinerView {
    override func fetchOneline(_ completion: (String) -> Void) {
        completion("Just this one line, no moreā€¦")
    }
}

The screensaver will display whatever is invoked as the String argument inside the completion closure. The fetchOneline method will fetched whenever the screensaver thinks it’s necessary.

If you’re keen to see a reference implementation, just head over to DeveloperExcuses.

License

MIT

Created by

Marcus Kida

Latest podspec

{
    "name": "OnelinerKit",
    "version": "1.0.2",
    "summary": "A macOS framework to create text based screen savers.",
    "swift_version": "4.1",
    "description": "A macOS framework to create text based screen savers.nPlease see https://github.com/kimar/DeveloperExcuses for a sample implementation.",
    "homepage": "https://github.com/kimar/OnelinerKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Marcus Kida": "[email protected]"
    },
    "social_media_url": "http://twitter.com/kidmar",
    "platforms": {
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/kimar/OnelinerKit.git",
        "tag": "1.0.2"
    },
    "source_files": [
        "OnelinerKit",
        "OnelinerKit/**/*.{swift}"
    ]
}

Pin It on Pinterest

Share This