SwiftUIKit is a Swift SDK that adds extra functionality to Swift & SwiftUI.
This version adds localization support, and makes more types use LocalizedStringKey
instead of String
.
This version also adds standard button types, which makes it easier to create standard button types.
Button+Init
adds a new button initializer.Button+Standard
adds new standard button types.This version refactors many views to take their styles & configs as environment values, instead of injecting them in the initializer.
CircularProgressBar
now supports customizing animation.FilePicker
now supports providing a custom picker config.ImagePicker
now supports providing a custom picker config.LinkText
has new link style options, to define font weight.ListButtonGroup
is a new group view for groping many buttons.ListButtonStyle
has a new optional pressedOpacity
init param.ListCard
now supports specifying a custom pressed scale animation.String+Replace
has a new options-based replace extension shorthand.Color.standardListBackground
has been renamed to listBackground
.FormInlineActionButtonStyle
has been replaced by ListButtonGroup
.FormText
has been renamed to ListActionRow
, and is now style-based.ListActionRow
now supports a ListAction
instead of a trailing view.DismissableView
has been deprecated due to native SwiftUI support.FormRowTitle
has been deprecated due to now being used internally.PresentationDetents
has been deprecated due to native SwiftUI support.This version makes the list header not use a section, to avoid disclosure groups.
This version fixes a bug in the image list header extension.