Hello there,
I'm just learning SwiftUI and I faced a problem while using this library (which is awesome and simple btw.). Is it possible to pass an object to modal view and enable dismiss action?
ModalLink(destination: DetailedView(item:item).init(dismiss:))
Doesn't seem to work... I'm either able to only pass an object or enable dismiss action.
ModalLink(destination: DetailedView(item:item)
ModalLink(destination: DetailedView.init(dismiss:))
Any clues?
Hello there,
I'm just learning SwiftUI and I faced a problem while using this library (which is awesome and simple btw.). Is it possible to pass an object to modal view and enable dismiss action?
ModalLink(destination: DetailedView(item:item).init(dismiss:))Doesn't seem to work... I'm either able to only pass an object or enable dismiss action.
ModalLink(destination: DetailedView(item:item)ModalLink(destination: DetailedView.init(dismiss:))Any clues?