Re: Show/Hide columns in NSTableView?
Re: Show/Hide columns in NSTableView?
- Subject: Re: Show/Hide columns in NSTableView?
- From: Fredrik Olsson <email@hidden>
- Date: Fri, 28 Jul 2006 08:15:30 +0200
Andreas Mayer skrev:
Am 27.07.2006 um 10:37 Uhr schrieb Fredrik Olsson:
Is there a more elegant solution to letting the user (And
programatically) toggle columns on and off?
Hm. I do have something like this. Not sure I'd call it an *elegant*
solution though.
It involves subclassing NSTableView *and* NSTableColumn and it uses
two private methods of NSTableView - since I couldn't get autosaving
to work properly without them.
Here are the interfaces:
<snip>
If anyone is interested, I'm gonna write a sample app and put the code
on my website.
I am very interested! Looks pretty much exactly like what I am looking for.
// Fredrik Olsson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden