On 15 Sep 2021, at 17:39, Matt Jacobson 
<mhjacob...@me.com<mailto:mhjacob...@me.com>> wrote:



On Sep 15, 2021, at 11:21 AM, Tor Arne Vestbø 
<tor.arne.ves...@qt.io<mailto:tor.arne.ves...@qt.io>> wrote:


On 14 Sep 2021, at 16:33, Matt Jacobson via Cocoa-dev 
<cocoa-dev@lists.apple.com<mailto:cocoa-dev@lists.apple.com>> wrote:

By default, when an NSWindow is `-close`d (which can only happen once in its 
lifetime),

Interesting. If the NSWindow is retained elsewhere, can it not be ordered in 
again? Appreciate any details you can provide :)

I was wrong about this detail.  The window can definitely be ordered in again, 
and any subsequent `-close` does *not* issue a `-release`, even if the window 
`isReleasedWhenClosed`.  (How confusing.)

Thanks for the clarification!

Cheers,
Tor Arne
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to