Releases: insidegui/BuddyKit
Version 1.8
- Add PlatformViewWrapper and PlatformViewControllerWrapper, generic wrappers for a platform view or view controller to be embedded in a SwiftUI view
- Add PlatformViewControllerRepresentable
⚠️ Breaking Change
PlatformViewControllerRepresentable
used to be just a type alias to UIViewControllerRepresentable
and NSViewControllerRepresentable
, but it is now a standalone protocol. Use PlatformViewControllerRepresentableType
to refer to UIViewControllerRepresentable
and NSViewControllerRepresentable
directly if needed.
Version 1.7.6
Expand require extensions with features for collections and type casting, additional features for Bool
Version 1.7.5
Fix build error in latest Xcode beta
Version 1.7.4
New @Lock
property wrapper can be used to protect class members that might be accessed from multiple actors/queues.
Version 1.7.3
Fixes a bug in SoftwareVersion.currentOS
Version 1.7.2
Add View.modifier()
extension for modifying a SwiftUI view using a view builder. This can be used to conditionally add modifiers with availability checks. Thanks @kylebshr for the idea!
Version 1.7.1
- Add
lowercasingFirstCharacter()
,uppercasingFirstCharacter()
,removingPrefix()
, andremovingSuffix()
toString
- Add
disambiguatedSequentially()
toString
, can be used to increment a counter on a string based on a collection of strings to ensure that the string is unambiguous within the collection
Version 1.7
Add SubjectPublisher
as a way to publish values for SwiftUI views from an ObservableObject
without triggering too many view updates if the object is in the environment.
Version 1.6.1
Fix PreviewBugFix crash in command-line tools
Version 1.6
- Adds
AsyncButton
, a control that can be used likeButton
with the ability to run throwing asynchronous actions with automatic error handling by displaying as an alert, or manual by displaying via a customAlertContent
binding - Deprecates
failableTask
modifier, replaced by newthrowingTask
modifier which gains the ability to automatically display errors as described forAsyncButton
above