Fix for deprecated sizeWithFont: method in iOS 8 SDK

This commit contains a replacement for the deprecated method `sizeWithFont:` that yielded a warning in Xcode 6 / iOS 8 SDK