🎒 My personal bag of holding for Swift extensions.
-
Bool.toggled()
-
Safe
Collection
subscripts -
Collection.nonEmpty
from objc.io -
Collection sorting with
KeyPath
-
Concurrency
Task.sleep
with secondswithTimeout
- 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... 🧙♂️
Alejandro Martinez | https://alejandromp.com | @alexito4