Notes WWDC 2021 : What’s new in Mac Catalyst
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: "")
view.addInteraction(toolTip)
// 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
UIBehavioralStyle
to select controls rendering mode- Window tab opt-out in
Info.plist
- Cursor changes