TagKit will use semver after 1.0.
This version makes TagKit use Swift 6, by removing the flow layout parts from the library.
The TagList
and TagEditList
is therefore much simpler now before, and can be used in more ways.
TagList
andTagEditList
now just lists the provided tags.TagList
andTagEditList
can now be rendered in any layout container.
Slugifiable
has been deprecated. Just use theslugified
string extension instead.TagCapsule
has been deprecated, since it's better to just customize a regularText
.
FlowLayout
could not be refactored to support strict concurrency, and has been removed.
This version temporarily downgrades to Swift 5.9 since Xcode 16.1 made things stop working.
This version makes TagKit use Swift 6.
This version adds support for strict concurrency.
This requires standard styles to be converted to read-only values.
This version also adjusts the visual appearance of some standard styles.
TagCapsuleStyle
now supports specifying a shadow.
TagCapsule.standard
and.standardSelected
now use material backgrounds.
This version bumps the package to Swift 5.9 and adds support for visionOS.
This version also bumps the deployment targets to make it possible to add more features.
FlowLayout
is now public.TagCapsuleStyle
has new, material-based default styles.TagCapsuleStyle
now supports specifying a background material as well.
TagCapsule
now applies aTagCapsuleStyle
.
This version adjusts the tag capsule border to be rendered as an overlay.
This version is the first public beta release of TagKit.
Slugifiable
is a protocol that describes slugifiable types and adds additional functionality to any types that implement it.SlugConfiguration
can be used to customized the slugified result.Taggable
is a protocol that describes taggable types and adds additional functionality to any types that implement it and collections that contain them.TagList
renders a collection of tags using a custom view builder.TagEditList
renders a collection of toggleable tags using a custom view builder.TagCapsule
renders a tag with a customizable style.TagTextField
automatically slugifies any text that is entered into it.