Re: Open panel not opening in Catalina


Quincey Morris
 

On Nov 18, 2019, at 07:15 , John Brownie <john_brownie@...> wrote:

    __weak NSOpenPanel *openPanel = [NSOpenPanel openPanel];

Why are you declaring this __weak? That means the open panel is subject to *immediate* deallocation, which sounds exactly like the symptoms you’re seeing.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.