Home / Apple / Michael Tsai – Blog – Forbidden Controls in Catalyst’s Mac Idiom

Michael Tsai – Blog – Forbidden Controls in Catalyst’s Mac Idiom



Peter Steinberger:

With macOS 11 Big Sur, Catalyst learned a new presentation mode. Next to the classic mode where Catalyst apps are scaled to 77% and retain the iPad look, there is a new Optimize Interface for Mac mode that does not use scaling and replaces various UIKit controls with AppKit colleagues.

[…]

Back to crash – things make a little more sense now. There is no great equivalent for UIStepper in AppKit, so the people at Apple decided that it is better to throw an exception if this control is used. FB8727188

The problem: It is not documented which controls are not allowed, and even more problematic, some controls are allowed, but customizations are not allowed.

Former:

Catalyst (marzipan) cocoa documentation Mac macOS 1

1.0 Big Sur programming

Stay up to date by subscribing to the RSS feed for comments for this post.


Source link