2.1.0: Range-based API & Support for Swift 5.0
- Introduced range-based API (thanks to @sstadelman)
Lorem.words(_ range: {Closed}Range<Int>) -> String
Lorem.sentences(_ range: {Closed}Range<Int>) -> String
Lorem.paragraphs(_ range: {Closed}Range<Int>) -> String
- Added support for Swift 5.0 by making changes necessary for Xcode 10.2
- This version should still work with Swift 4.0 & 4.2