Repository navigation
PickableItems 1.0.0 - Initial Release
PickableItems 1.0.0
Initial release of PickableItems — a lightweight SwiftUI package that adds a searchable, fuzzy-matched keyboard accessory bar for picking tags, categories, assignees, or any custom model right above the keyboard.
Highlights
- Type-scoped SwiftUI modifiers: Use
keyboardItemPickerContainerandkeyboardItemPickerFocusBridgeto attach multiple independent pickers to the sameFormorView. - Smart search & ranking: Combines substring matching, length-scaled Levenshtein fuzzy search, alias matching (
secondaryNames), and usage frequency (useAmount). - Configurable sorting strategies: Choose between
.mixed(penaltyMultiplier:),.pureUseAmount, and.pureDistance. - Customizable accessories & ergonomics: Supports optional leading and trailing accessory views,
clearOnSelect, and anonSelectcallback. - Modern SwiftUI & Swift 6: Built with
@Observable,@MainActorisolation, and adaptive.safeAreaBar/.glassProminentsupport on OS 26+ with automatic fallbacks.
Requirements
- iOS 18.0+ / macOS 14.0+ / watchOS 10.0+ / tvOS 17.0+
- Swift 6.4+