Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: deprecated warnings when starting the app with dialog package #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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