Re: My App crash on 10.7.5, but works on 10.8
Re: My App crash on 10.7.5, but works on 10.8
- Subject: Re: My App crash on 10.7.5, but works on 10.8
- From: Uli Kusterer <email@hidden>
- Date: Fri, 19 Apr 2013 15:19:46 +0200
According to the release notes for ARC:
http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html
> Which classes don’t support weak references?
>
> You cannot currently create weak references to instances of the following classes:
>
> NSATSTypesetter, NSColorSpace, NSFont, NSMenuView, NSParagraphStyle, NSSimpleHorizontalTypesetter, and NSTextView.
>
> Note: In addition, in OS X v10.7, you cannot create weak references to instances of NSFontManager, NSFontPanel, NSImage, NSTableCellView,NSViewController, NSWindow, and NSWindowController. In addition, in OS X v10.7 no classes in the AV Foundation framework support weak references.
So NSWindowController didn't support weak references until 10.8. That chapter has instructions what to do instead.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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