Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Automatic Reference Counting (ARC) #79

Closed
stig opened this issue Jun 19, 2011 · 5 comments
Closed

Support for Automatic Reference Counting (ARC) #79

stig opened this issue Jun 19, 2011 · 5 comments
Labels
Milestone

Comments

@stig
Copy link
Collaborator

stig commented Jun 19, 2011

Currently some of the public headers use the __weak keyword in property declarations. This is not supported, apparently, if you use ARC. So we need to find a way around that.

@markb63
Copy link

markb63 commented Jun 19, 2011

All the retain, release, autorelease, and dealloc statements need to be removed too. Thanks.

@stig
Copy link
Collaborator Author

stig commented Jun 20, 2011

I don't think that's true. You should be able to link to non-ARC
libraries from ARC apps.

Stig

Sent from my iPhone

On 20 Jun 2011, at 04:22, markb63
reply@reply.github.com
wrote:

All the retain, release, autorelease, and dealloc statements need to be removed too. Thanks.

Reply to this email directly or view it on GitHub:
#79 (comment)

@markb63
Copy link

markb63 commented Jun 20, 2011

I read that that the preferred method of using your code was to copy the sources and compile it. That has worked for me in the past. If I just link your library, will that eliminate the need to wait for the fix for the __weak keyword as well?

@stig
Copy link
Collaborator Author

stig commented Jun 20, 2011

You should be able to link to the library right now, yes. IF, you use the code from the arc-support branch.

@stig
Copy link
Collaborator Author

stig commented Jul 1, 2011

This has been merged to master.

@stig stig closed this as completed Jul 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants