Exhibition: An Adaptive OS X App
Version 1.2, 2016-09-28
Updated to Swift 3
(Full Revision History)
Xcode 8, macOS 10.12 SDK
The Exhibition sample demonstrates techniques for making windows more adaptive. You’ll see how to use the NSSplitViewController class to create system-standard adaptive sidebars. The sample also shows how to use the NSCollectionView class API introduced in OS X 10.11 to create more flexible layouts using constraint priorities and the automatic detaching behavior of the NSStackView class.