I am trying to open a NSPanel and [NSApp beginSheet:modalForWindow:modalDelegate:...] is deprecated, try to use [window beginSheet:completionHandler...] also deprecated. [NSApp endSheet:...] deprecated.
What is the alternative to open a sheet or NSPanel in objective-C.
Your help appreciated!