insertCell method?
insertCell method?
- Subject: insertCell method?
- From: Lee Morgan <email@hidden>
- Date: Mon, 8 Dec 2003 20:22:46 -0500
I've been looking through the NSMatrix docs and I can't seem to find a
way to insert a cell at a given row / col. I'm making a thumbnail
matrix much like iPhoto's and I need the ability to rearrange the cells
manually. Am I correct that I have to handle we the user clicks on a
cell and the drag action after the click and then create a new cell
where the user let off and put the contents of the old cell in it? I
don't mind doing this if I have to - getting the drag action and then
the mouse point when the drag is over isn't hard and then finding our
which row / col the mouse point is related to shouldn't be too hard.
However no where in the docs do I see a way to create a cell at a given
row / col - that is besides makeCellAtRow:column but in the docs it
says "Your code should never invoke this method directly; it's used by
addRow and other methods when a cell must be created. It may be
overridden to provide more specific initialization of cells."
Am I even going about this the right way?
Any help?
Lee Morgan
_______________________________________________
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.