Contents

preferredScrollEdgeEffectStyle

The titlebar accessory’s preferred effect for content scrolling behind it.

Declaration

var preferredScrollEdgeEffectStyle: NSScrollEdgeEffectStyle { get set }

Discussion

To allow for a soft edge on the bottom edge of a titlebar accessory:

titlebarAccessoryViewController.preferredScrollEdgeEffectStyle = NSScrollEdgeEffectStyle.softStyle;

See Also

Configuring the scroll edge effect