Releases: mrkai77/DynamicNotchKit
1.1.0
What's New
-
Configurable Animation Overrides (#46)
You can now fully customize the transition animations of a
DynamicNotchusing the newDynamicNotchTransitionConfiguration. Override the default opening, closing, and conversion animations, or enableskipIntermediateHidesfor faster, more direct state transitions between expanded and compact states :)let notch = DynamicNotch(style: .auto) { Text("Hello") } notch.transitionConfiguration = .init( openingAnimation: .spring(duration: 0.3), skipIntermediateHides: true )
Bug Fixes
1.0.0
intro.mp4
This is a big release, bringing refined visuals and better ergonomics! Here’s what’s new:
🚀 Platform & Compatibility
- Minimum macOS version updated from Monterey (12) to Ventura (13)
- Swift 6 concurrency is now fully supported across all APIs
🆕 Features & Improvements
- New compact state: A subtle, side-mounted notch view that mirrors iOS’s compact Dynamic Island behavior
show()renamed toexpand(): This main method has been renamed for clarity in light of the new states- Custom corner radius: You can now personalize the notch’s curvature via DynamicNotchStyle
- Refined shape: The notch now uses smooth, continuous corners for a more polished appearance
- Hover behaviors: Trigger haptic feedback, increase shadow, or keep the notch visible on hover
- New expansion animation: A more stretchy, fluid effect when transitioning between hidden, compact and expanded states
📦 API Enhancements
- DynamicNotchInfo's
iconparameter: Now uses dedicated struct with more premade styles for better clarity and type safety. This struct is used in the notch's compact style for ease of use as well :) - DynamicNotchProgress merged into DynamicNotchInfo for a more streamlined experience
📚 Developer Experience
- Full DocC documentation included for all public APIs
- New tests (under the Tests folder) and examples to guide you through using DynamicNotchKit effectively
🛠️ Full Changelog: 0.1.0...1.0.0
0.1.0
Just a little release :)
DynamicNotchKit currently includes the DynamicNotch class, which lets you display SwiftUI content from the macOS notch. For devices without a notch, you can use a floating window style instead. This package also introduces two additional classes: DynamicNotchInfo and DynamicNotchProgress. While the documentation is a bit sparse right now, I’m working on improving it for the next release!
Important Update for Users
If you're using DynamicNotchKit in your project, please update your dependency rule to the 0.1.0 tag. Breaking changes are coming soon that will provide greater flexibility and configurability. To ensure your project continues to function smoothly during this transition, setting this version is highly recommended.
Have ideas or features you'd love to see in this package? Open an issue and let me know!