return value of application(_:openFile:) delegate method in MacOS

30 views Asked by At

application(_:openFile:) delegate method is used to handle file association launch in macos.It states the return value as:

true if the file was successfully opened or false if it was not.

However, I m not very clear about the return value, because clicking the file launched my application either way with application(_:openFile:) getting invoked, irrespective of returning true or false from this delegate?

Can someone explain it better?

0

There are 0 answers