function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tschlosstschloss 

zkSforce under ARC (automatic reference counting)

Hi,

I assume that manual memory counting will go away very quickly. 

The most recent zkSforce library is still in MRC mode.

 

Does anybody have converted it (and tested)?

 

Here is what I did so far: I have converted it (i.e. Xcode 4.3 converted it automatically [I created a small OSX dummy project with MRC and refactored it to ARC]).

Xcode did find only 3-4 problems, all of them were unresolveable [myZKobject autorelease]. I just commented them away (thinking that the worst thing to happen would be a mem leak) and the app compiled and ran without further warnings.

But I don't feel well with it.

 

Any comments on this?

Anybody interested in this ARC version?

 

@Simon: any plans for an official port?

 

Thanks

Thomas