Swiftpack.co - alexito4/Baggins as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by alexito4.
alexito4/Baggins 1.0.0
🎒 My personal bag of holding for Swift extensions.
⭐️ 1
🕓 2 weeks ago
iOS macOS
.package(url: "https://github.com/alexito4/Baggins.git", from: "1.0.0")

Baggins

Build and Test

🎒 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

GitHub

link
Stars: 1
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Dependencies

Release Notes

1.0.0
2 weeks ago

Cleaned up a bunch of stuff, documented and modularised the Unwrap and Flow facilities.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics