Got a link to the iibrary? On Jun 12, 2015, at 5:00 AM, John Brownie wrote:
> On Fri Jun 12 2015 18:45:49 GMT+1000 (PGT) Ken Thomases wrote: >> On Jun 12, 2015, at 3:18 AM, John Brownie <john_brow...@sil.org> wrote: >> >>> Having worked with ARC code for a long while, I discovered an >>> incompatibility with a library that means I have to convert to non-ARC code. >> Before we address the how, let's make sure of the why. What is the nature >> of this incompatibility? ARC was designed so that code compiled with ARC >> can interoperate just fine with code compile with manual retain/release, and >> vice versa. So, there should be no need to abandon ARC just because of a >> third-party library. What lead you to believe there is such a need? > > Well, it's the Nano library for handling various data structures such as NS > collections, CF collections, strings, etc, in C++. It works fine without ARC, > but falls in a heap when trying to compile for Objective-C++. I saw my > options as either backing out of ARC, or writing a bunch of shims in plain C > to avoid Objective-C++, and the former seemed easier. My model code is mostly > C++, with Objective-C for the view and controller parts. > > John > -- > John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg > Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. > Ukarumpa, Eastern Highlands Province | New Ireland Province > Papua New Guinea | Papua New Guinea > _______________________________________________ > > 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/zav%40mac.com > > This email sent to z...@mac.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