• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My App crash on 10.7.5, but works on 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >My App crash on 10.7.5, but works on 10.8 (From: Peng Gu <email@hidden>)
 >Re: My App crash on 10.7.5, but works on 10.8 (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: My App crash on 10.7.5, but works on 10.8
  • Next by Date: Re: Preventing edits in Versions browser
  • Previous by thread: Re: My App crash on 10.7.5, but works on 10.8
  • Next by thread: Temporarily disabling autosave
  • Index(es):
    • Date
    • Thread