Am 22.03.2012 um 15:14 schrieb Rick C.:

> Just looking for an opinion what's the best way to create controls like this:
> 
> http://cl.ly/191V3Z1C0m2k2U0V443x
> 
> I initially assumed subclassing NSSegmentedControl, but then I was thinking 
> maybe I can just subclass NSButton and put them together.  

The first one looks like two controls next to each other. A button and a popup 
menu. Some subclassing is probably needed to get the right look.
The other two look like segmented controls, so it's probably best to subclass 
that. (Do you even need a subclass? Doesn't the "Textured Square" style do what 
you need?)

> Or maybe even make this out of a custom view?

You can, of course, create any control from scratch.


Andreas
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to