Skip to content

Releases: Flowductive/foundation-plus

1.1.1

22 Jan 20:10
Compare
Choose a tag to compare

Fixes

  • firstWord and lastWord now return the entire string upon fail.
  • Added the .possessive String extension to add possessive 's or ' after a name.

1.1.0

29 Mar 18:31
Compare
Choose a tag to compare

Thanks for using Foundation Plus! 🎉🧱

New Features

  • Format an integer withCommas:
let str = 123456789.withCommas // "123,456,789"
  • Easily get a concrete String from an optional String with ifLet:
let str1: String? = "Hello"
let str2: String? = nil
str1.ifLet() // "Hello"
str2.ifLet() // ""
str2.ifLet(or: "empty string") // "empty string"
  • Copy a String to the clipboard:
"Hello world!".copyToClipboard()
  • Get first and last matching elements of an array using .first(matching:) and .last(matching:).

1.0.1

10 Aug 10:56
Compare
Choose a tag to compare

Thanks for using FoundationPlus 🎉!

Minor Fixes

  • Fixed assignment operator precedence for global operators

1.0.0

17 Jun 02:37
Compare
Choose a tag to compare

Thanks for using 🧱 FoundationPlus! 🎉

0.1.1

17 Apr 21:12
Compare
Choose a tag to compare

Add special array subscripts and firstWord String extension

0.1.0

28 Feb 00:31
Compare
Choose a tag to compare