Vincent Tourraine

Notes WWDC 2021 : What’s new in Mac Catalyst

#dev #macOS

Mes notes pour la session What’s new in Mac Catalyst de la WWDC 2021.

Overview of new APIs

Pop-up/toggle button support

ToolTips now available:

let toolTip = UIToolTipInteraction(defaultToolTip: "")

// or using convenience property on `UIControl`
control.toolTip = ""

Expansion ToolTips for UILabel: label.showsExpansionTextWhenTruncated = true

Declare support for Printing APIs in Info.plist, with printContent(_ sender: Any?) on UIResponder

Window subtitle: scene.subtitle = ""

Intents extensions support

Overview of enhanced APIs