Replaced deprecated method

Replace sizeWithFont:constrainedToSize:lineBreakMode: with boundingRectWithSize:options:attributes:context.