• 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: Kyle Sluder <email@hidden>
  • Date: Mon, 13 Aug 2012 12:01:17 -0700

On Mon, Aug 13, 2012, at 11:30 AM, Jean-Daniel Dupas wrote:
>
> Thanks for the details. I know what the fragile ABI, and the modern ABI
> are but where I don't agree is when Kyle says that it was not possible to
> add a refcount ivar when retain/release was introduced. As retain/release
> was already defined in the first OpenStep specification
> (http://www.gnustep.org/resources/OpenStepSpec/FoundationKit/Protocols/NSObject.html),
> it was perfectly possible at that time to choose to add a refcount ivar
> to the new NSObject class without breaking anything.

I wasn't exactly around at the time, but a wild guess: NSObject might
have needed to stay layout-identical to Object in order for OpenStep to
remain compatible with NeXTSTEP binaries.

--Kyle Sluder
_______________________________________________

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>)
 >Re: Classes incompatible with weak references (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Classes incompatible with weak references (From: John McCall <email@hidden>)
 >Re: Classes incompatible with weak references (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: NSSegmentedControl in ToolBar
  • Next by Date: PackageMaker Unable to Change Content Permission
  • Previous by thread: Re: Classes incompatible with weak references
  • Next by thread: Re: Classes incompatible with weak references
  • Index(es):
    • Date
    • Thread