[AppKit/UIKit] Adjust a few availability attributes in NS[Mutable]ParagraphStyle. Fixes #19209. by rolfbjarne · Pull Request #19211 · dotnet/macios (original) (raw)
…agraphStyle. Fixes dotnet#19209.
Both headers and documentation agree that:
The TextLists and LineBreakStrategy properties are available in all OS versions we support, so adjust the availability attributes accordingly.
While the NSLineBreakStrategy enum is supposedly not available in all OS versions we support, the NSLineBreakStrategy.PushOut enum value is. This doesn't make much sense, so I've made our enum available in all OS versions
- the PushOut enum value as well. All the other enum values are only available in iOS 14+ (according to docs + headers).
Fixes dotnet#19209.