Probably a simple question:
Why do I get an compiler warning for the following objective-C code?
//_classificationView.tag is a NSString
CGFloat imageWidth = [_classificationView.tag floatValue] * 14.0;
And why does it say something about NSInteger?
Thanks for answers!
Dennis
Because the
tagproperty is aNSIntegerand not a class type. Just use the following instead: