I'm building an app that allows users to drop videos onto it. Given a list of dropped NSURL*s how do I make sure each one conforms to the public.movie
UTI type?
If I had an NSOpenPanel
, I would just use openPanel.allowedFileTypes = @[@"public.movie"];
and Cocoa would take care of it for me.
Thanks in advance!