I made the necessary changes to switch to automatic reference counting (aka. ARC). It's mostly removing code so I wouldn't say it's a risky change. In the way I fixed a few bugs, besides all the potential memory leaks:
Switch to ARC
ARC is not backwards-compatible (we've had a major crash recently caused by ARC), so we need to maintain a clean, non-ARC, master.
I'm looking for a good solution here. Do you think it would work if we do this:
...so that way, you can always pick "ARC" or "non-ARC" version of the source to use in your own projects ... AND (I think?) ... when updating ARC version, it's very easy: the latest-ARC-version is always "close to" the master version.
What do you think - would that work?
(Sorry to be a pain, but we've got people who are still using old versions of Xcode, and ARC isn't an option for them.)
Yeah, that's an option, it should be relatively easy to keep the ARC branch in sync. I can also just keep my ARC branch and update it periodically in case anyone is interested.
I've created an official "master-ARC" branch as noted above. It currently is based off 1.1.0 (NB: "master" currently tracks 1.0.0 - that's a mistake, and will be fixed very soon)
I've merged your arc to make the initial master-ARC. Hopefully we can keep this updated with changes to master as we go forwards