• 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: Classes incompatible with weak references
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classes incompatible with weak references


  • Subject: Re: Classes incompatible with weak references
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 14 Aug 2012 11:30:11 +0100

On 13 Aug 2012, at 16:56, Kyle Sluder <email@hidden> wrote:

> On Aug 13, 2012, at 8:42 AM, Ben <email@hidden> wrote:
>
>> I see in the documentation - and from a compiler error - that some classes are not compatible with weak references.
>>
>> What makes these classes incompatible?
>
> They have custom implementations of -retain and -release.

I forgot to note earlier, that I believe the reason some of these classes have custom reference counting implementations is so that they can monitor any bindings made from nib files and handle teardown appropriately.


_______________________________________________

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: 
 >Classes incompatible with weak references (From: Ben <email@hidden>)
 >Re: Classes incompatible with weak references (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Mountain Lion crashes Simulator
  • Next by Date: Re: 32-bit on 10.8
  • Previous by thread: Re: Classes incompatible with weak references
  • Next by thread: NSTextView paste:
  • Index(es):
    • Date
    • Thread