Storing the CGColorRef instead of the UIColor object was causing ARC to release the UIColor object. By the time the CGColorRef was called in some cases, the color object was gone, and the app would crash. Now using the UIColor -CGColor method on-demand instead.
Storing the CGColorRef instead of the UIColor object was causing ARC to release the UIColor object. By the time the CGColorRef was called in some cases, the color object was gone, and the app would crash. Now using the UIColor -CGColor method on-demand instead.