Repository navigation
2.0.0
This version requires Xcode 13 and later, since it refers to the latest api:s.
Parts of the library that have native corresponding parts in newer versions of SwiftUI, like SearchBar. They will be around until the library targets the versions of SwiftUI where they were introduced.
✨ New features
Color+Codableis a new extension that makes Color codable.Color+Randomnow lets you randomize the color opacity as well.EnvironmentValues+SafeAreaInsetslets you read the safe are insets of the key window.FormActionButtoncan now be provided with a custom style.FormActionButtonStylecan now be configured with a custom style.MenuListIconhas a new emoji-based initializer.MenuListItemnow lets you use any custom content builder.MenuListItemStackis a new view that lets you reuse the spacing and tap behavior.MenuListSectionis a new view for menu list sections.MenuListSlideris a new view for menu list sliders.MenuListSubtitleis a new view for menu list subtitles.MenuListToggleis a new view for menu list toggles.MultilineTextis a new text view that can be used when a multiline text is cut off with ...MultiPickeris a new, generic multi item picker. It will probably replaceSimpleMultiPickerin due time.Persistednow lets you inject a custom store.Pickeris a new, generic single item picker. It will probably replaceSimplePickerin due time.PickerListItemis a new protocol that can be used inPickerlists.PickerSectionis a new, generic struct that can be used to divide aPickerandMultiPickerinto sections.ShadowStylehas a newformActionButtontype.ShadowStylehas zero defaults forxandy.SystemColorhas a bunch of new colors.SystemColoris nowCodableandEquatable.Text+Markdownis a new view extension that provides a newText(markdown:)initializer.UrlSharingis a new protocol that any view can implement to easily be able to share urls.View+Autosaveis a new view extension that provides a customizable autosave view modifier.
💡 Behavior changes
FormActionButtonStyleno longer applies a primary text color.FormActionButtonStyleno longer applies a shadow by default. You can define one with the staticshadowStyleproperty.
💥 Breaking Changes
- All deprecated parts of the library have been removed.
MenuListItemIconhas been renamed toMenuListIcon.SystemColorno longer auto-implementsSimplePickerValue.UserDefaultsPersistedhas been renamed toPersisted.