LoremIpsum String generator for Swift
Swift Package Manager
Add the following package to your dependecies:
How does it work?
The main API is exposed as static method on
import LoremImpsum let lorem = String.loremIpsum(paragraphs: 2)
Some UIKit classes implement
Loremable protocol, so it's possible to call a
lorem(UILabel()) to automagically fill them with randomness.
UIButton (even it doesn't make sense with it) are currently supported.