Closed dfsm closed 3 years ago
@dfsm thank you! This looks great. Don't mind my tidying up, just noticed some Swift 3-era bits while I was in the area.
I went ahead and implemented your todo about proper file types, and changed it to look at the data itself to determine type instead of looking at the URL extension (which can lie). If you're curious about file type stuff on iOS, this video is a good intro: https://developer.apple.com/videos/play/tech-talks/10696/ but if it's completely uninteresting, I understand :)
Some notes on this:
I'm not sure if CopyURLActivity is required at all? The default Copy option copies the URL anyway?We do in fact need itEdit: Ah, I see that I've changed the behaviour of "Copy" for static images.Will update so that there are only two options: Copy and Copy URL. Copy will copy the image dataEdit 2: All done 🎉