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 componentcolor
– Lines colorimageName
– Any icon name from SF symbolsdurationScale
– Duration of scale animationdurationMove
– 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