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: Peng Gu <email@hidden>
- Date: Fri, 19 Apr 2013 09:31:43 -0400
Found the problem, there's another place I declared the window controller
as weak.
Thanks.
*
*
*
*
On Fri, Apr 19, 2013 at 9:19 AM, Uli Kusterer
<email@hidden>wrote:
> 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