Fixes warning when compiling for iOS 7

Replaces deprecated NSString class method sizeWithFont: with sizeWithAttributes: