Re: Adjusting Font Size to fit View Rectangle

Alex Zavatone

There are two that I am aware of. sizeToFit and sizeThatFits.

On Sep 19, 2018, at 1:29 PM, Dave <dave@...> wrote:

Hi All,

Is there a Cocoa method I can use that will return the best fitting Font Size for a given String and Font?

I seem to remember using a method that does it but can’t seem to find it any more…..

All the Best

Join to automatically receive all group messages.