Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexito4/baggins
🎒 My personal bag of holding for Swift extensions.
https://github.com/alexito4/baggins
swift
Last synced: 4 days ago
JSON representation
🎒 My personal bag of holding for Swift extensions.
- Host: GitHub
- URL: https://github.com/alexito4/baggins
- Owner: alexito4
- License: mit
- Created: 2015-11-24T21:07:25.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T19:11:16.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T17:54:15.594Z (15 days ago)
- Topics: swift
- Language: Swift
- Homepage: https://alejandromp.com/
- Size: 42 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Baggins
[![Build and Test](https://github.com/alexito4/Baggins/actions/workflows/ci.yml/badge.svg)](https://github.com/alexito4/Baggins/actions/workflows/ci.yml)
🎒 My personal bag of holding for Swift extensions.
## Additions
- `Bool.toggled()`
- Safe `Collection` subscripts
- `Collection.nonEmpty` from [objc.io](https://www.objc.io/blog/2019/01/29/non-empty-collections/)
- Collection sorting with `KeyPath`
- Concurrency
- `Task.sleep` with seconds
- `withTimeout`
- race `firstOf(_:or:)
- `Task.unsafeBlocking` (careful with this one!)- Exported [Flow](https://github.com/alexito4/Flow)
- `Sequence.toArray()`
- String `leftPadding`, `isUppercase`, `isLowercase`, `contains(anyOf:)`, `split(withWord:)`
- Exported [UnwrapOrThrow](https://github.com/alexito4/UnwrapOrThrow)
- Other stuff in `_Brewing.swift` which it probably shouldn't be used. Still brewing... 🧙♂️# Author
Alejandro Martinez | https://alejandromp.com | [@alexito4](https://twitter.com/alexito4)