Re: advice for creating these controls
Re: advice for creating these controls
- Subject: Re: advice for creating these controls
- From: Andreas Mayer <email@hidden>
- Date: Thu, 22 Mar 2012 16:08:39 +0100
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 (email@hidden)
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:
This email sent to email@hidden