> On Sep 6, 2021, at 2:14 PM, Gabriel Zachmann via Cocoa-dev > <[email protected]> wrote: > > I had assigned the window to an ivar window_ in viewWillMoveToWindow: > > - (void) viewWillMoveToWindow: (NSWindow *) newWindow > { > window_ = newWindow;
I asked earlier, but I’ll ask again: why are you doing this? NSView already has a `window` property that provides its window. b _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
