Taylor

main

Taylor makes beautiful words happen, a Lorem Ipsum generator for Swift.
artisanofcode/swift-taylor

Taylor.swift

Taylor makes beautiful words happen, a Lorem Ipsum generator for Swift.

Installing

Taylor can be installed using Swift Package Manager.

Usage

Taylor provides static methods for generating different types of text.

Words

Generate lowercase words of either a fixed or random length seperated by a space.

let one = Taylor.word()
let ten = Taylor.words(10)
let fiveToTen = Taylor.words(5...10)

Sentences

Generate capitalised sentences of either fixed or random length, each ending in a period.

let one = Taylor.sentence()
let ten = Taylor.sentences(10)
let fiveToTen = Taylor.sentences(5...10)

Paragraphs

Generate paragraphs of sentences, either fixed or random length, each seperated by a newline.

let one = Taylor.paragraph()
let ten = Taylor.paragraphs(10)
let fiveToTen = Taylor.paragraphs(5...10)

Titles

Generate a capitalised title.

let title = Taylor.title()

Licence

This project is licensed under the MIT licence.

Meta

This project uses Semantic Versioning.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Jan 18 2024 01:14:07 GMT-1000 (Hawaii-Aleutian Standard Time)