baron/MagicalRecord — pull request #1 by baron (2011-12-03 13:07:05+00:00)
Title: Header fixes

I've noticed some issues with the main header file, the big one being

#ifndef NS_AUTOMATED_REFCOUNT_UNAVAILABLE

using "#ifndef" will ensure that it always defaults to the else condition. I noticed this when I turned off ARC and ran analyze on my project (MR_AUTORELEASE and company didn't have any effect).

I also wrapped ENABLE_ACTIVE_RECORD_LOGGING in an #ifndef since I want to be able to enable it on debug builds and disable it on release builds. In the previous form I had to manually change that one line everytime I updated the code.

The rest of the changes are basically fixes to make XCode's static analysis happy. Please review to ensure that I didn't mess anything up.