0

In Xcode for macOS I need to have a view pop up modally and synchronously into action on top of (within but smaller than) the frame of the app's main window to handle a situation requiring the user provide data and press one of several buttons and then retire, giving the app's main window's view control again. (Similar to the behavior of an alert.) I've got the interface designed, but the NSView documentation has floored me. I'm hoping there's a simple procedure for causing the behavior I seek. I can't be the only person to have done this kind of thing. I'm grateful for any help you can offer, and thank you.

Lor
  • 141
  • 10
  • Storyboard or XIB's? – Willeke Apr 27 '18 at 21:51
  • Willeke, this is a program I started 5 years ago, finally getting back to try to finish it. Hence it is Objective-C with XIB interface designs. Thanks for your attention. – Lor Apr 28 '18 at 01:14
  • 1
    Put the view in a window and call `beginSheet:completionHandler:` on the other window. You can close the sheet with `endSheet:`. – Willeke Apr 28 '18 at 10:07
  • Thanks again. I'll work on that. – Lor Apr 28 '18 at 11:43

0 Answers0