Releases: danielsaidi/SwiftUIKit
1.6.0
✨ New features
FlipView
has a newflipDuration
property.FlipView
is now supported by all platforms.ImageResource
is now supported bywatchOS
andtvOS
as well.MenuListItemIcon
is a new view for menu list items.
🐛 Bug fixes
FlipView
handles flipping and view transitions better than before.ImagePicker
now completes with failure if original image is missing.
🗑 Deprecations
FlippableView
has been renamed toFlipView
.
💥 Breaking Changes
ImagePicker
's result now uses a rawUIImage
instead of anImage
.
1.5.1
This version makes the library build under Xcode beta 4, by marking some features as unavailable for iOS application extensions.
This affects the following files:
- View+Keyboard
- SearchBar
- UrlOpener
These parts of the library will no longer be available in app extensions.
1.5.0
This version adds image utils that help writing multiplatform apps.
✨ New features
ImageResource
is a new typealias for e.g.NSImage
andUIImage
.Image
has a newimageResource
-based initializer.NSImage
has some new extensions, likecgImage
andjpegData
.
1.4.0
✨ New features
FolderMonitor
can be used to monitor changes to a folder on the file system.FolderObservable
can be used to observe changes to a folder on the file system.ProcessInfo
has a newisSwiftUIPreview
extension that can be used to tell if code is running within a preview or not.SystemColor
is a new enum that makes it easy to use and pick built-in systemColor
values.TagTextField
is a text field that automatically slugifies text as you type.
1.3.1
This version adds a plain button style to regular MenuLinkItem
buttons.
1.3.0
This version cleans up the MenuList
types a bit:
MenuListItem
now requires named parameters.MenuListButton
andMenuListLink
are removed.- Instead, you can use the new
button
,navigationButton
andnavigationLink
modifiers. Image+menuListNavigationArrow
has been converted to a newNavigationLinkArrow
view.
1.2.5
This release tweaks the behavior of FlippableView
to support flipping in all directions.
It also adds a new TabViewItem
as well as an Image+TabViewItem
extension.
1.2.4
This release fixes compiler errors for menu list on other platforms than iOS.
1.2.3
This release adds new View
extensions: .interactable()
, .height(_)
and .width(_)
.
1.2.2
This release adds two new ShadowStyle
s: badge
and elevated
.