mattlawer/BButton — pull request #14 by ophilbert (2013-04-09 13:03:45+00:00)
Title: Solve crash when not using Arc

Hi,

I really like your BButton and since it crashed when I tried to click on a Button I looked for a way to solve this (I found your project via cocoatrols when looking for bootstrap style button in iOS).

The main problem was due to the fact you may have tested using Arc. Due to the way the memory is managed with Arc it might not cause any problem but if you don't use it crashes may occur.

I changed a few lines (the most important one is the UIColor not being retained with Arc disabled). I fixed some warning when not using Arc and it seems now that your project works in both Arc and No-Arc projects.

I hope you'll accept this request.
Best regards.
Olivier