On 2 November 2011 15:43, Matt Neuburg <m...@tidbits.com> wrote: > What I wasn't understanding is why I *didn't* have to cast to __bridge id in > the first two cases I listed.
That's easy: the compiler should have no problem tracking the use of ids throughout as they are easily managed (eg, an id can live inside an autorelease pool). So, you have a CxxxRef that was returned by an ObjC method, which is manageable, id that is manageable, and your assignment is manageable, so the compiler is happy. >> Are you saying that because someone at Apple was being sloppy in >> writing that sample code and, as it transpires, hasn't fixed that >> mis-type yet, the document is invalidated as a whole? > > > No. I was not saying anything about validity of anything. I was asking about > the specific cases I'm asking about. You're the one who keeps elevating it to > some sort of global warfare. You said the notes were of no use as they were wrong in part, unless I misunderstood what you were saying... Cheers, -- Igor _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com