On Sep 22, 2016, at 12:34 , Kyle Sluder <k...@ksluder.com> wrote:
> -close asks the window’s delegate (via -windowShouldClose:) if it should
> close. If the window is owned by a window controller that’s associated
> with a document, the document will also get a chance to weigh in via
> -shouldCloseWindowController:…. It will also send
> -orderOut: just hides the window (removes it from the window list). You
> can always order it back in again later.
Yes, but ignore for a moment the “shouldClose…” interaction, and assume the
window is NOT set to release on close. What *else* does “close” do vs.
The example app mentioned in this thread demonstrates that “close” has some
other effect beyond what “orderOut” does. In particular, a “single”-mode
storyboard segue re-uses an ordered-out window, but not a closed one.
Cocoa-dev mailing list (Cocoafirstname.lastname@example.org)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to arch...@mail-archive.com