fix deprecations of sizeWithFont for ios 7

now the code doesn't have any deprecation warnings for ios 7.
i think it would be fine if you create a branch or tag for ios < 7.

cheers :)