Frinkiac
Frinkiac copied to clipboard
A tiny Frinkiac & Morbotron client, written in Swift 3
Frinkiac
Installation
Frinkiac supports Carthage; add the following to your Cartfile:
github "KevinVitale/Frinkiac"
Overview
This is a passion project that merges two things I :heart: very much: Frinkiac & Swift. It provides an iOS & macOS framework, Frinkiac; iOS components, such as FrameSearchController; and a macOS application demonstrating how to use Frinkiac directly.
Learn who is behind frinkiac.com, what it is, and how it works here.
iOS
FrameSearchController
The FrameSearchController is a UIViewController subclass that let's your search for quotes, and displays a grid of results.
Playground
The included playground demonstrates how simple it is to use the Frinkiac framework.
import Frinkiac
import PlaygroundSupport
public typealias MemeService = Morbotron
public let searchController = FrameSearchController<MemeService>()
PlaygroundPage.current.needsIndefiniteExecution = true
PlaygroundPage.current.liveView = searchController
iMessage App
The MessageExtension target is an included iMessage app that demonstrates how Frinkiac can be used to build just such a thing.
macOS
Frinkiac doesn't provide a FrameSearchController macOS-equivalent (yet); however, the included Frinkiac-macOS app gives a good demonstration of what can be done with Frinkiac directly.