Skip to content

2.1.0: Range-based API & Support for Swift 5.0

Compare
Choose a tag to compare
@lukaskubanek lukaskubanek released this 29 Apr 12:09
· 31 commits to master since this release
  • 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