Presents a nonmodal Open dialog that displays files that can be opened based on a list of UTIs.
- macOS 10.8+
The open panel to present.
A list of file types that the user should be allowed to choose in the open panel.
This method is called by
begin to do the actual work. You typically do not call this method directly. You can override this method as needed to customize the Open panel or to alter the list of UTIs in the
You can also override this method if you to perform additional cleanup (for example, if you customized the open panel and need to tear down an accessory view). Your overridden implementation should call the underlying method on
super, passing a custom completion handler. That handler should do the additional cleanup work, and then should call the completion handler block that was provided by the caller.