Re: Dealing with validModesForFontPanel signature change

2017-09-14 Thread Quincey Morris
On Sep 14, 2017, at 09:07 , David Catmull wrote: > > Are there any other options? It looks like an unintentional error in the 10.13 SDK. If you look at other “enforcement” types, such as Notification.Name, they’ve been given a backwards-compatible availability, since they are value-compatible.

Dealing with validModesForFontPanel signature change

2017-09-14 Thread David Catmull
In the 10.13 SDK, the return type for NSObject.validModesForFontPanel() changed from Int to NSFontPanel.ModeMask. This is problematic for backwards compatibility because the different signature means it's considered to be a new function, different from the one that's been around since 10.3. If I s