> 
> Forgot an @synthesize?  We haven’t needed to do that since Xcode 4.2.  
> 
> Do you know why you needed to do that?  It seems pretty much like an edge 
> case.  
> 

Good question. 

I had assigned the window to an ivar window_ in viewWillMoveToWindow:

- (void) viewWillMoveToWindow: (NSWindow *) newWindow
{
    window_ = newWindow;

This ivar is declared in MyView.h and as a property 
@property (readwrite) NSWindow * window_;


Well, some of my code is pretty old ....


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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