>> 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. In this case we put the Cocoa controls into a NSView, which releases them. The NSView deletes our LView, which deletes the C++ controls. Thanks, Casey McDermott www.TurtleSoft.com _______________________________________________ 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