Hi I first use this package in xcode, but I am developing macOS, once I write such codes
var body: some View {
VStack{
Button("open floating widget"){
showFloatingView.toggle()
}
}.frame(width: 250, height: 250)
.background(content: {
Rectangle()
.fill(.blue.gradient)
.ignoresSafeArea()
})
.buttonStyle(.bordered)
.buttonBorderShape(.roundedRectangle)
.floatingView(position: .zero, show: $showFloatingView){
GeometryReader{
let size = $0.size
Giffy("images/eat drumstick")
}
}
}
it give me err in the issue title, how to fix?