Class NSUser Interface Compression Options
An object that specifies how user interface elements resize themselves when space is constrained.
Declaration @interface NSUserInterfaceCompressionOptions :
An instance of
contains zero or more options. Because a compression options object behaves like a set, you can use common operations like intersection, union and subtraction to interact with instances and their members.
NSUser Interface Compression Options
You can access system-defined options through the class methods detailed in
Creating Standard Options, or you can create your own custom options with the initializer. init With Identifier:
To compare two different compression options objects, use the methods described in the
Comparing Compression Options section. Topics Creating a Compression Option - init
Creates a compression options object containing no options.
Creating Standard Options standard Options
An option that represents the union of all standard compression options.
Comparing Compression Options empty
A Boolean value that denotes whether the option is empty.
- contains Options:
Determines whether the supplied compression options are all present in the current instance.
- intersects Options:
Determines whether the supplied compression options intersect with the current instance's options.
Combining Compression Options See Also Touch Bar Items NSTouch Bar Item
A UI control shown in the Touch Bar on supported models of MacBook Pro.
NSCustom Touch Bar Item
A bar item that contains a responder of your choice, such as a view, a button, or a scrubber (an instance of the
class). NSScrubber NSPopover Touch Bar Item
A bar item that provides a two-state control that can expand into its second state, showing the contents of a bar that it owns.