Swiftpack.co - RougeWare/Swift-Collection-Tools as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by RougeWare.
RougeWare/Swift-Collection-Tools 3.1.0
A bunch of tools I tend to write to make collections easier to use
⭐️ 0
🕓 2 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/RougeWare/Swift-Collection-Tools.git", from: "3.1.0")

Swift Collection Tools

A bunch of conveniences and tools I keep re-making for my projects. Figured I'd make them one last time here!

GitHub

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

Release Notes

3.1 - Added @ArrayBuilder
2 weeks ago

@ArrayBuilder is a basic result builder which transforms all of its children into an array. This can be used to great effect when needing to use logic while building an array, like this:

self.tabsArray = Array {
   homeTab
   searchTab
    if !isGuestMode {
        profileTab
    }
    settingsTab
}

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