Use auto for textSize

`sizeWithAttributes` can return either `NSSize` or `CGSize`. Use `auto` to prevent any compilation errors.