Re: Drag Tabs, Custom Colors
Re: Drag Tabs, Custom Colors
- Subject: Re: Drag Tabs, Custom Colors
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 11 Nov 2008 19:23:58 -0500
On Tue, Nov 11, 2008 at 5:58 PM, Frank D. Engel, Jr. <email@hidden> wrote:
> 1. What is the most likely approach for allowing tabs from NSTabViews to be
> dragged between tab views, possibly on different windows?
Don't subclass NSTabView for this; it's not the expected UI and it
won't work. Reparenting views inside a window is one thing, but
moving them to completely different windows is quite a different
proposition. Your solution in this case is a UI element that doesn't
look like NSTabView and a controller sitting somewhere to reparent,
instantiate, and release views as they move around and between
windows.
> 2. Is there any "easy" way to customize the colors used by Cocoa's controls
> to use neutral grays, like Apple's pro apps?
No.
> can I poseAsClass:
Don't use +poseAsClass:; it is deprecated.
> Or do I really need to re-implement all of the controls in order to get
> this?
Yes, you must re-implement all of this to get the custom behavior. Or
you could just use standard UI controls and be done with it.
--Kyle Sluder
_______________________________________________
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