Skip to content

Conversation

@ampchiu
Copy link

@ampchiu ampchiu commented Feb 14, 2023

setAllowedFileTypes is Deprecated
I only change the API to setAllowedContentTypes

@karelbilek
Copy link
Contributor

This shuts up the warnings, but, the actual code doesn't actually work the same way...

@karelbilek
Copy link
Contributor

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'

@karelbilek
Copy link
Contributor

See #82 for correct fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants