Re: ARC and C++ structures
Re: ARC and C++ structures
- Subject: Re: ARC and C++ structures
- From: Tor Arne Vestbø via Cocoa-dev <email@hidden>
- Date: Wed, 15 Sep 2021 15:47:24 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qt.io; dmarc=pass action=none header.from=qt.io; dkim=pass header.d=qt.io; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sBAqeeELZtteYrSC3nBsYTlVhguMl7eMCgKJzWYP060=; b=VBIk2ZGMh3FLqt0ho2cG/LpRlZa4wqAj8K1v9/8+jlA2fS7d8Ys7L0R3f9rw8KAKjIyUKveC6oz/DkkknnUBNCYIXINlXEZo6IQVMNDCz/j19i26Wi25BeqTXm2lOuf5Con5G0Oby+r9ih7gG2lICJ0aM8Wm93D92f0C8+HIe4JZoLItQg/EBmJPz/vEUXR7yly9fN/Nyn5eKB2+9FYkqwbftqXGFDtEAQWqd386n94Bd3T3g63q0kfr00H3hikJccMFGyHzLk3KxqCjA1kWWSe4UBA0bPF86D2YbzHDMmbIq5oJGIM7ZgLSTWskTvXG/wsbg+cOVOTfs9kGWqQJ/Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqSQ6mXCmm9qt+yBX9sX49aOIREWFIlIKD86A8B0NvQS7MdRrGZrm0b4Ti3mHF8BGVZrL6Yjc0n5ORo+DdTg1UuzAln0RAPzP80nvCS8fyo6AbezofpUe5dh9ivKN1mvL0urTSeG2Ktsn8VTVn4XjlUgXFeVoYXahc2OIOzaSEZk66M7aPdnK7wGT5IdvcRCYDoOoonyB1VbhMcJABPW+nGQPKNVrMFZSShYbpKZtm/mvBKs/uQtEI6wfyPZDjYIehDxgVYknWtXy06+ye3j9OSDlFpC2E7nlIm4BFSt+v3p4YaAy849cz0lzyrDSy2YwMLKuvGoX2w/L9dwBbptHg==
- Thread-topic: ARC and C++ structures
On 15 Sep 2021, at 17:39, Matt Jacobson
<email@hidden<mailto:email@hidden>> wrote:
On Sep 15, 2021, at 11:21 AM, Tor Arne Vestbø
<email@hidden<mailto:email@hidden>> wrote:
On 14 Sep 2021, at 16:33, Matt Jacobson via Cocoa-dev
<email@hidden<mailto:email@hidden>> 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 (email@hidden)
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 email@hidden