• 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: 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


  • Follow-Ups:
    • Re: My App crash on 10.7.5, but works on 10.8
      • From: Peng Gu <email@hidden>
References: 
 >My App crash on 10.7.5, but works on 10.8 (From: Peng Gu <email@hidden>)

  • Prev by Date: Re: Showing a drawer on a sheet
  • Next by Date: Re: My App crash on 10.7.5, but works on 10.8
  • Previous by thread: My App crash on 10.7.5, but works on 10.8
  • Next by thread: Re: My App crash on 10.7.5, but works on 10.8
  • Index(es):
    • Date
    • Thread