On 8 Sep 2018, at 15:32, Casey McDermott <supp...@turtlesoft.com> wrote:
> 
>>> If you are using ARC and want to get a strong
> reference on the object, you have to use __bridge_retained
> 
> That is handy to know!  I see there is also __bridge_transfer to go the other 
> way.

IMO the Core Foundation wrappers CFBridgingRetain( ) and CFBridgingRelease() 
are slightly easier to follow in code; I’ve never been a huge fan of having 
lots of double-underscore things floating about.

Kind regards,

Alastair.

--
http://alastairs-place.net

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to