Contents

alexito4/Baggins

πŸŽ’ My personal bag of holding for Swift extensions.

Additions

  • Bool.toggled()
  • Safe Collection subscripts
  • Collection.nonEmpty from objc.io
  • Collection sorting with KeyPath
  • Concurrency

- Task.sleep with seconds - withTimeout - race firstOf(_:or:) - Task.unsafeBlocking` (careful with this one!)

  • Exported Flow
  • Sequence.toArray()
  • String leftPadding, isUppercase, isLowercase, contains(anyOf:), split(withWord:)
  • Exported UnwrapOrThrow
  • Other stuff in _Brewing.swift which it probably shouldn't be used. Still brewing... πŸ§™β€β™‚οΈ

Author

Alejandro Martinez | https://alejandromp.com | @alexito4

Package Metadata

Repository: alexito4/Baggins

Homepage: https://alejandromp.com/

Stars: 7

Forks: 0

Open issues: 2

Default branch: main

Primary language: swift

License: MIT

Topics: swift

README: README.md