May 12 2018
NSStackView Tutorial
(Xcode 9, macOS 10.12, Swift 4) Stackviews exist mainly to make layout easier (we’ll not go much into NSGridView here, which is the ‘we found another use case for which stackViews aren’t all that great’ variant). In this post, we’ll see what else we can do with stackviews, and where the pitfalls are. I find […]
Sep 15 2019
Disclosure Triangle (Autolayout)
(Xcode 10, Swift 4.2, macOS 13.6) This is a common use case: users who just want an overview get a smaller window with the most important content, users who want more detail can click a triangular button and more details unfold. I seem to have tackled this problem several times without feeling completely happy with […]
By Extelligent Cocoa • Application Design, Bug Reports, Interface, Tutorials • • Tags: Autolayout, disclosure, embed view