github/ReactiveCocoa — pull request #31 by nickynick (2012-08-15 12:46:42+00:00)
Title: Added non-ARC projects compatibility

Hi there!

Today I've tried to use ReactiveCocoa in a non-ARC project. It all seemed good until I ran the application. On startup, I've got the following error:

dyld: lazy symbol binding failed: Symbol not found: _objc_release
Referenced from: /var/mobile/Applications/7213451A-FABA-4966-90C6-47D5106DF7C4/Test123.app/Test123
Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_release
Referenced from: /var/mobile/Applications/7213451A-FABA-4966-90C6-47D5106DF7C4/Test123.app/Test123
Expected in: /usr/lib/libobjc.A.dylib

The backtrace contained `+ (void)load` method in some category. After a bit googling, I ran into this post: http://stackoverflow.com/a/8408766. It seemed like the possible cause, so I attempted to fix this by moving static initialization to lazy methods, and it worked.

To me, this change doesn't seem like a big deal, so here we go with the pull request. :)