Swiftpack.co - Swift Packages by theblixguy

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by theblixguy

theblixguy/DynamicIslandUtilities 0.1.0
A collection of utilities that provides functionality around the Dynamic Island on the iPhone 14 Pro/Max.
⭐️ 92
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Re-do API
1 year ago
- Re-do APIs so the progress indicator is available directly from the DynamicIsland namespace. Now, instead of having to subclass a `ViewController`, you can just use `DynamicIsland.progressIndicator` from anywhere to control it. This means you can also use it from SwiftUI!
Moving things around
1 year ago
- Rename `hasDynamicIsland` to `isAvailable` and move it to the `DynamicIsland` enum. Now you can do `DynamicIsland.isAvailable` to check whether you're running on an iPhone 14 Pro or iPhone 14 Pro Max.
Some improvements
1 year ago
- Make `dynamicIslandProgressIndicatorConfiguration` a property. - Swap availability check with a `hasDynamicIsland` check (enforced at runtime when `dynamicIslandProgressIndicatorConfiguration` is accessed).
A minor bugfix
1 year ago
- Add missing `public` to the definition of `dynamicIslandProgressIndicatorConfiguration()`. I am an idiot!
Initial release
1 year ago
iOS
theblixguy/Invalidating 0.1.0
Backports the new @Invalidating property wrapper to older platforms
⭐️ 72
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Name migration
2 years ago
Unfortunately, the property wrapper needs to be renamed otherwise name lookup will treat a reference to Invalidating and other types as ambiguous in Xcode 13 due to conflicts with the same type name in UIKit/AppKit. I did not expect this behavior because I assumed the new types would be effectively unavailable on lower deployment targets and the compiler will allow me to shadow those types with mine, however that does not seem to be the case. I have tried to isolate the changes to just the name of the property wrapper slightly (to ViewInvalidating), removing the Invalidations type from the UIView/NSView namespace and making it standalone and renaming UIViewInvalidating/NSViewInvalidating by adding a Type suffix to it. These changes alone were enough to resolve the problems while still making it super easy to migrate to the new type names when the deployment target is changed to iOS 15+/tvOS 15+/macOS 12+. This is achieved by adding `@available` annotations and providing the new type names for the renamed argument. The renamed type name is then provided as a fix-it on the availability errors making it very easy for the user to migrate without manually needing to rename anything.
Drop min requirement to iOS 11/macOS 10.11
2 years ago
- Drops the min requirement to iOS 11, tvOS 11 and macOS 10.11. - Drops the min requirement to Swift 5.1
More invalidation options and etc
2 years ago
- Adds Restorable State (macOS only) and Configuration (iOS 14+ only) invalidation options - Adds support for specifying up to 10 invalidation options
Minor tweaks
2 years ago
- Rename an internal type and clean it up - Minor tweaks to README
Initial release
2 years ago
This is the initial release.
iOS macOS tvOS
theblixguy/Once 0.0.1
A property wrapper to enforce that closures are called exactly once!
⭐️ 17
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Initial release
2 years ago

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