I am currently trying to sandbox my app and I have been running into some strange issues with the NSOpenPanel. I am currently getting the following error when I try to display my NSOpenPanel:
Error: Objective-C runtime exception:
-[NSRemoteOpenPanel orderFront:]: unrecognized selector sent to instance 0x16a1630
I have read some other posts that explain that when you enable sandboxing the OS will use an NSRemoteOpenPanel instead of an NSOpenPanel and that this class may not directly inherit from an NSOpenPanel and may not implement all of its methods. Here is a stackoverflow post talking about that:
NSOpenPanel in Cocoa app with app-sandboxing gives an error
Now this all fine and good, but I wonder how is one supposed to know about which methods cannot be used with an NSOpenPanel that is sandboxed. There seems to be no public documentation about the NSRemoteOpenPanel.