All Projects β†’ kimar β†’ OnelinerKit

kimar / OnelinerKit

Licence: MIT license
A macOS framework to create text based screen savers. πŸ–₯πŸ’―

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

OnelinerKit

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].