Open ampchiu opened 1 year ago
This shuts up the warnings, but, the actual code doesn't actually work the same way...
For example, doing
file, err := dialog.File().Title("Open").Filter("jpg", "jpg").Load()
shows error
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString identifier]: unrecognized selector sent to instance 0x95a3c17fa12dadfb'
See #82 for correct fix
setAllowedFileTypes is Deprecated I only change the API to setAllowedContentTypes