Swiftpack.co - Bonney/MBUtilities as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Bonney.
Bonney/MBUtilities 1.1.0
My personal grab-bag of Swift and SwiftUI goodies.
⭐️ 0
🕓 16 weeks ago
iOS macOS watchOS
.package(url: "https://github.com/Bonney/MBUtilities.git", from: "1.1.0")

MBUtilities

Personal collection of handy Swift and SwiftUI utilities, extensions, and custom views.

"It's a living beverage."

– Merlin Mann (I think, anyway.)

SwiftUI Views

This package contains some custom SwiftUI views I've found useful.

Many are small additions to the standard library, such as this Button that takes a systemImage parameter, rendering an Image as it's label:

// System initializer for LocalizedString label
Button("Favorite") {
    someAction()
}

// Default method of using an Image/SF Symbol label
Button {
    someAction()
} label: {
    Image(systemName: "star.fill")
}

// ⭐️ Custom initializer for using Image/SF Symbol
Button(systemImage: "star.fill") {
    someAction()
}

GitHub

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

Release Notes

1.1.0
16 weeks ago

Bump to target 2022 OS releases (iOS 16, watchOS 9, macOS Ventura).

Adds some SwiftUI views!

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