Releases: danielsaidi/SwiftUIKit
Releases · danielsaidi/SwiftUIKit
4.1.0
This version adjusts the ListBadgeIcon to behave better.
✨ New features
ListBadgeIconhas new properties and render better on iOS 17.ListBadgeIconhas new predefined types.
4.0.1
This patch fixes the default FormInlineButtonStyle background in dark mode.
✨ New features
Colorhas a newstandardRowBackgroundfunction.
4.0.0
This major version bumps the deployment targets to iOS 15, tvOS 15, watchOS 8, and macOS 12. This lets us remove a lot of code for older OS versions.
This version also adds everything from SwiftKit, which is discontinued. I don't want to manage or add two libraries, so merging them seems valid.
This version removes protocols where not needed. This means that it will no longer have a protocol and a standard implementation if not needed.
✨ New features
Bundle+Informationis a new extension with bundle-specific information.BundleFileFinderis a new file service that can search for files in a bundle.Collectionsis a new namespace with collection-related utilities and extensions.Commandsis a new namespace withmacOScommands.CsvParseris a new class that can be used to parse CSV files and strings.Dateis a new namespace with date-related extensions and utilities.DeviceIdentifieris a new class for generating unique device IDs.iCloudDocumentSyncis a new class that can sync iCloud document changes.Keychainis a new namespace with keychain-related utilities and services.ListActionis a new enum with quick list action types.MimeTypeis a new type that defines various MIME types.Pasteboardis a multi-platform pasteboard typealias.Stringis a new namespace with string-related utilities and extensions.URL+iCloudadds new iCloud-specific URLs.ValidationRegexis a struct that defines various regex-based validation expressions.
🐛 Bug fixes
ViewdisableDynamicTypenow applies the provided size category instead of always.medium.
💥 Breaking Changes
All previously deprecated code has been removed.
ActionTogglehas been removed - just useonChange(of:)to observe the toggle state instead.DismissableViewnow usesDismissActioninstead ofPresentationMode.EdgeInsetsfactory functions have been replaced with proper initializers.FilePickernow requiresUTTypeinstead ofString.FolderMonitorhas been renamed toDirectoryMonitor.FolderObservablehas been renamed toDirectoryObservable.FormActionButtonhas been replaced with aFormActionButtonStyle.FormTextButtonhas been removed sinceListActionis so easy to use.FormTextEditorandFormTextFieldhas been removed. Use.formRowTitle(...)instead.ScanCodeGeneratorhas been replaced byImageandImageRepresentableinit extensions.
3.9.0
This release deprecates a bunch of things in preparation for the 4.0 bump.
SwiftUIKit 4.0 will drop support for iOS 13.
✨ New features
MultilineSubmitViewModifieris a new view modifier to make multiline text fields submit when return is pressed.Viewhas a newmultilineSubmit(...)extension.Viewhas a newonMultilineSubmit(...)extension.
💡 Behavior changes
ForEachPickerno longer applies a.plainbutton style.ForEachMultiPickerno longer applies a.plainbutton style.SwiftPreviewInspectornow provides a standard implementation.
🗑 Deprecations
MultilineTexthas been deprecated.DotAnimationhas been renamed toDotLoadingAnimation.DotAnimationTexthas been renamed toDotLoadingAnimationText.SearchBarhas been deprecated.SidebarPresenterhas been deprecated.StandardSwiftPreviewInspectorhas been deprecated.Text+Markdownhas been deprecated.UIApplication+Windowshas been deprecated.Viewheight and width modifiers have been deprecated.View+Keyboardhas been deprecated.
3.8.3
✨ New features
FormTextFieldhas new multiline capabilities.
🗑 Deprecations
FormTextEditorhas been soft deprecated.
3.8.1
✨ New features
ImageCache.sharedhas been made public.
3.8.0
✨ New features
ImageCacheis a new convenience util for caching images.ImageRepresentablehas a newjpegData(resizedToWidth:withCompressionQuality:)extension.ListPaddingis a new view that can be used to add vertical padding to lists.
3.7.0
✨ New features
GridItem+Convenienceis a new extension withGridItembuilders.ReorderableForEachis a new view that lets you reorder items in stacks and grids.
3.6.2
SidebarListRowBackgroundModifieris a new view modifier for sidebar lists.
3.6.0
✨ New features
StorageCodableis a new protocol for persistingCodableinAppStorageandSceneStorage.View+Fontextensions are now available on tvOS and watchOS as well.
✨ Behavior changes
Persistedis changed to soft deprecated since theRawRepresentableAppStoragesupport requires iOS 15.
🗑 Deprecations
- The
Printingnamespace has been deprecated and moved to the new PrintingKit SDK.