Sunday, October 12, 2014

A Guide to NSButton Styles

Jakub Suder [Update (2022-01-07): archive] (via Jonathan Willing):

I figured I could prepare a kind of cheat sheet that collects all this information in one place. The list below describes the button styles in the same order as in the Xcode panel, and for each button it includes: the Xcode name, the constant name, screenshots of how it looks on Yosemite (on the left) and on Mavericks (on the right), and some guidelines I found about how it’s supposed to be used, or how it’s actually used by Apple in their apps. (I’ve even checked the system apps with Interface Inspector to see what controls are actually used where.)

1 Comment RSS · Twitter

Interesting but it lacks one important piece of information: what the button looks like when it's disabled.

Why? I don't know, maybe hypothetically, there could be weird issues for some button shapes related to how they are rendered in Yosemite when disabled.

Leave a Comment