I am using an associated reference as storage for a property of my category
header file contains :
@interface UIImageView (Spinning)
@property (nonatomic, assign) BOOL animating;
@end
implementation is
- (void)setAnimating:(BOOL)value {
objc_setAssociatedObject(self, animatingKey, value, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
However, I am getting the warning for the line above
Implicit conversion of 'BOOL' (aka 'signed char') to 'id' is disallowed with ARC
if you know what I am doing wrong here, please help how to avoid this problematic