Skip to content

Releases: danielsaidi/SwiftUIKit

3.8.1

11 Sep 12:05
Compare
Choose a tag to compare

✨ New features

  • ImageCache.shared has been made public.

3.8.0

06 Sep 18:54
Compare
Choose a tag to compare

✨ New features

  • ImageCache is a new convenience util for caching images.
  • ImageRepresentable has a new jpegData(resizedToWidth:withCompressionQuality:) extension.
  • ListPadding is a new view that can be used to add vertical padding to lists.

3.7.0

30 Aug 14:08
Compare
Choose a tag to compare

✨ New features

  • GridItem+Convenience is a new extension with GridItem builders.
  • ReorderableForEach is a new view that lets you reorder items in stacks and grids.

3.6.2

28 Aug 06:17
Compare
Choose a tag to compare
  • SidebarListRowBackgroundModifier is a new view modifier for sidebar lists.

3.6.0

23 Aug 08:52
Compare
Choose a tag to compare

✨ New features

  • StorageCodable is a new protocol for persisting Codable in AppStorage and SceneStorage.
  • View+Font extensions are now available on tvOS and watchOS as well.

✨ Behavior changes

  • Persisted is changed to soft deprecated since the RawRepresentable AppStorage support requires iOS 15.

🗑 Deprecations

  • The Printing namespace has been deprecated and moved to the new PrintingKit SDK.

3.5.0

17 Aug 15:16
Compare
Choose a tag to compare

✨ New features

  • NavigationContext is a new observable class.
  • Image+Resized is a new Image extension.

🗑 Deprecations

  • AlertProvider has been deprecated.
  • FullScreenCoverProvider has been deprecated.
  • SheetProvider has been deprecated.

3.4.0

07 Aug 14:51
Compare
Choose a tag to compare

✨ New features

  • Color+Hex has new static functions.
  • ColorPickerBar is a new color picker component.
  • EditableView is a new view protocol.
  • ListBadgeIcon now supports custom icon colors and icon gradients.
  • ListHeaderIcon is a new view.
  • ListSectionTitle has a new withInsets() init parameter.
  • ListShelfSection has a new style.
  • OptionalBinding is a new func that makes it possible to pass in optional values as a non-optional binding.
  • View has new prefers extensions.
  • ViewShadowStyle has a new .sticker style.

🗑 Deprecations

  • ImageRenderer was not available to 5.7 compilers and has been removed altogether.
  • ImageRenderer can still be found and copied from any earlier versions of SwiftUIKit.
  • MultilineTextField has been deprecated.
  • SystemColor has been deprecated.

3.3.0

12 Jun 06:46
Compare
Choose a tag to compare

This release adds new support for Codable and AppStorage.

This release also adds new list functionality and text editor styling.

From this version, the demo application has been removed. Instead of the demo application, you can use the internal previews directly.

✨ New features

  • Array has new extensions that make it possible to use with Codable and AppStorage.
  • Dictionary has new extensions that make it possible to use with Codable and AppStorage.
  • ImageRepresentable has new resizing tools.
  • ListBadgeIcon is a new view that mimics the color badge icons in System Settings.
  • ListCard is a new view that can be used to create cards for a list or grid.
  • ListDragHandle is a new view to mimic the native iOS list drag handle.
  • ListSectionTitle is a new view that mimics a grouped iOS section title.
  • ListShelfSection is a new view that can be used to create horizontally scrolling shelves in vertically scrolling lists.
  • ProcessInfo has a new static preview property.
  • TextEditorStyle lets you style a TextEditor like a TextField.
  • Image+Symbol is a new Image initializer that serves as a shorthand for .init(systemName:).
  • Image+ListBadgeIcon is a new Image modifier that can be used to convert an image to a color badged icon.

✨ Behavior changes

  • Persisted has been deprecated due to AppStorageCodable.
  • ViewShadowStyle now allows not specifying a shadow color.
  • ViewShadowStyle.badge has been redesigned to look more like a sticker.

🐛 Bug fixes

  • The undimmed presentation detents move some code to after layout to improve behavior.

🗑 Deprecations

  • UndimmedPresentationDetent is renamed to PresentationDetentReference.
  • The .presentationDetents(undimmed:largestUndimmed:selection:) modifier is deprecated and replaced by .presentationDetents(:largestUndimmed:selection:).

3.2.0

12 Feb 08:04
Compare
Choose a tag to compare

✨ New features

  • GestureButton is a new view that can be used to handle multiple gestures with a single button.
  • GestureButtonDefaults is a new class that can be used to configure the default values for the new gesture buttons.
  • LinkText is a new view that lets you combine text and tappable links without Markdown.
  • RepeatGestureTimer is a new class that can be used to trigger a repeating action.
  • ScrollViewGestureButton is a variant of GestureButton that works within a scroll view.
  • SwipeGestureViewModifier is a new view modifier that exposes the View+onSwipeGesture extension to DocC.
  • UndimmedPresentationDetentsViewModifier is a new view modifier that exposes the View+presentationDetents extension to DocC.

💡 Behavior changes

  • ImageRenderer now renders with correct scale - thanks alfredcc for this!

🗑 Deprecations

3.1.0

01 Nov 23:14
Compare
Choose a tag to compare

✨ New features

  • FormTextField is now available in iOS 13 as well.
  • LinearProgressBar is a new, style-based progress view.
  • ListSelectItem now supports providing a custom select indicator view.
  • ScrollViewHeader is a new header view with stretch and parallax support.
  • SwiftPreviewInspector and StandardSwiftPreviewInspector are new types for detecting SwiftUI preview mode.
  • UndimmedPresentationDetent is a new enum that is used to define undimmed detents with View+PresentationDetents.
  • View+PresentationDetents now supports specifying a largestUndimmed presentation detent.

💡 Behavior changes

  • FormActionButton now uses true as default value for the dimmed modifier.
  • FormActionButtonStyle now lets you style more parts of the form action button.
  • FormText no longers forces lowercase to its title.
  • SearchBar no longer adds a divider below the text field.
  • TextFieldClearButton now animates in the clear button.

🐛 Bug fixes

  • CircularProgressBar is no longer greedy and only allocates the space it needs.

🗑 Deprecations

  • The entire CollectionView namespace has been deprecated, since it's no longer needed on tvOS.

💥 Breaking Changes

  • CircularProgressBarStyle has been renamed to CircularProgressBar.Style.
  • ErrorAlertConvertible has a new errorButtonText property to avoid the hard-coded "OK".
  • ScanCodeGenerator has a cleaner function name for generating a scan code.