SwiftUI Search field
Search field with wrap and unwrap animation effect
Features
- Setting custom colors for the component
- iOS and macOS support
- Dark and light scheme support
Creation
@State var text : String = ""
SearchFieldShell(text: $text)
Optional
size
– The height of the component
color
– Lines color
imageName
– Any icon name from SF symbols
durationScale
– Duration of scale animation
durationMove
– Duration of movement animation
SwiftUI example of using package
Documentation(API)
- You need to have Xcode 13 installed in order to have access to Documentation Compiler (DocC)
- Go to Product > Build Documentation or ⌃⇧⌘ D
GitHub
View Github