• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSButtonCell's within NSCell's within NSTableView's and mouse tracking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButtonCell's within NSCell's within NSTableView's and mouse tracking


  • Subject: Re: NSButtonCell's within NSCell's within NSTableView's and mouse tracking
  • From: "John C. Daub" <email@hidden>
  • Date: Fri, 24 Oct 2003 09:19:49 -0500

on 10/24/03 8:35 AM, Michael Hudson at email@hidden wrote:

>> So all of this makes me wonder... is this the way to go? Should I be
>> faking things out with NSCell's embedded within an NSCell? Or would
>> it be better to actually try to put real NSView's and NSButton's
>> into the NSTableView? Can that be done? If so, what are the pros and
>> cons of such an approach?
>
> What I ended up doing was creating a view that looked like I wanted
> each row to look in IB, and inserting enough of these into a custom
> view in a scroll view (with flipped coordinates, to keep me sane).
>
> Seemed to work, but I don't know if it's the best solution. I had a
> fairly small number of rows, I'd guess my solution would use a lot of
> memory if you had hundreds or thousands of rows.

*nod* That seems like a fair approach. I don't know if I could do that tho.
The biggest reason is that for now I'm using an NSTableView, but in a little
bit I need to convert it to an NSOutlineView because I will need to show
hierarchical data. To have to manage all that hierarchy myself... I don't
know if that'd cause me even more pain. :-)

Still, thanx for the suggestion. I'll keep it in mind.

--
John C. Daub }:-)>=
<mailto:email@hidden> <http://www.hsoi.com/>
"We're only gonna die from our own arrogance." - Bad Religion
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSButtonCell's within NSCell's within NSTableView's and mouse tracking (From: Michael Hudson <email@hidden>)

  • Prev by Date: RE: newbie question: unsigned index
  • Next by Date: Re: NSTask and Notification?
  • Previous by thread: Re: NSButtonCell's within NSCell's within NSTableView's and mouse tracking
  • Next by thread: Panther's Mail bundle?
  • Index(es):
    • Date
    • Thread