I recently looked into this a bunch. I tried to do a complete survey of all the possible APIs.
- I thought this article by Wade on temp files was really interesting.
- This Document Monitor in DocC shows how tricky it can be to get something not already supported right
I went with FileManager.default.fileExists for my checks as well, but my version of async was just to call the function async and then... do nothing. ("I'll get back to it". Ha. )
I'm chiming in mostly because I saw the SwitNIO stuff when I was poking around and it does look great! That and
This is would be a great future direction!
If one had improvements to add... which API would be the most fruitful to learn better?