Swiftpack.co -  benrobinson16/QuoteKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
benrobinson16/QuoteKit
A simple Swift Package offering 300+ quotes for use in iOS apps.
.package(url: "https://github.com/benrobinson16/QuoteKit.git", from: "1.0.0")

QuoteKit

A simple Swift Package offering 300+ quotes.

Used in the Anxiety Relief: Find Your Calm iOS app.

Installation

To install, use the Swift Package Manager. Add the following to your dependencies in your Package.swift file:

.package(name: "QuoteKit", url: "https://github.com/benrobinson16/QuoteKit.git", .branch("main"))

Usage

To access quotes, first create an instance of QuoteProvider. Then, quotes can be access using the quotes array or the randomQuote() element.

import QuoteKit

let provider = QuoteProvider()

let q1 = provider.quotes[123]
let q2 = provider.randomQuote()

Contributions

If you have a quote you would like to add or an improvement to the code, please open an issue or a pull request.

License

MIT License. Please see license.md.

GitHub

link
Stars: 0
Last commit: 3 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Initial Release
16 weeks ago

The first release of QuoteKit!

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API