Skip to content

alexito4/Baggins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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