🎒 我的 Swift 扩展工具包。
Bool.toggled()
安全的 Collection
下标访问
来自 objc.io 的 Collection.nonEmpty
使用 KeyPath
进行 Collection 排序
并发
Task.sleep
withTimeout
Task.unsafeBlocking
(小心使用!)导出的 Flow
Sequence.toArray()
String 的 leftPadding
, isUppercase
, isLowercase
, contains(anyOf:)
, split(withWord:)
导出的 UnwrapOrThrow
_Brewing.swift
中的其他内容,可能不应该使用。 还在酿造中... 🧙♂️
Alejandro Martinez | https://alejandromp.com | @alexito4