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

Add file watcher to auto-refresh game list on Archive tab #391

Open
herzbube opened this issue Sep 10, 2022 · 1 comment
Open

Add file watcher to auto-refresh game list on Archive tab #391

herzbube opened this issue Sep 10, 2022 · 1 comment

Comments

@herzbube
Copy link
Owner

When an .sgf file is uploaded into the app via iTunes, the file does not automatically show up in the list of games on the "Archive" tab. Several workarounds currently exist (e.g. lock/unlock the device), but they all involve sending the app to the background.

#240 suggests adding a refresh button, but this still requires the user to take manual action to see the added file(s). A better approach would be to have a file watcher that automatically refreshes the list of games whenever it detects a change in the app's document folder.

This issue replaces #240.

@herzbube
Copy link
Owner Author

Initial research indicates that GCD (Grand Central Dispatch) can be used to receive notifications about filesystem changes.

@herzbube herzbube added this to the Soon milestone Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant