How to use NSUserInterfaceCompression

I've create a custom cocoa control (subclassed NSView) that can show in two display modes: compressed, expanded . I'd like to be able to use NSUserInterfaceCompression but can find no relevant documentation or examples on how to make it behave as the built-in segment control, which collapses into a minimum-size when the window is resized.
How to use NSUserInterfaceCompression
 
 
Q