Edu Caselles

Removed unused variable.

... ... @@ -787,7 +787,6 @@
+ (CGSize)sizeOfString:(NSString *)text withWidth:(float)width font:(UIFont *)font
{
NSInteger ch;
CGSize size = CGSizeMake(width, MAXFLOAT);
if ([text respondsToSelector:@selector(boundingRectWithSize:options:attributes:context:)]) {
... ... @@ -802,7 +801,6 @@
size = [text sizeWithFont:font constrainedToSize:size lineBreakMode:NSLineBreakByCharWrapping];
#pragma clang diagnostic pop
}
ch = size.height;
return size;
}
... ...