|Nov 27, 2012, 03:59 PM||#1|
Animated row insertion in tableview
Hello. I have a view-based table view (an outline view) that can show/hide rows according to some view settings. FYI, each row shows a type of graph with a given color, and the user gets to choose the colors they want to display.
I want row removal and insertion to animate.
The view is bound to a controller object (NSTreeController), so changes to the model (filtering or adding/removing items) immediately reloads the table, stoping the animation. For row removal, I can sill update the model after the animation. For row insertion, I can't find a solution. If I update the model after the animation, new rows will show duplicate items, not the new items since they're not yet added.
In the table view session from WWDC 2011, they present some way to animate insertion during drag and drop, but it's not what I'm doing. Plus, inserted rows should show their content during the animation (like when an outline view item is expanded) instead of a gap.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Pages Blank Page Insertion?||Sambo110||Mac Applications and Mac App Store||6||Jun 20, 2013 03:08 PM|
|Populating TableView||Mvkoe||iPhone/iPad Programming||5||Dec 1, 2012 04:34 PM|
|rMBP - Slow keyboard response after wake or USB insertion?||neoben||MacBook Pro||1||Nov 25, 2012 09:06 AM|
All times are GMT -5. The time now is 02:32 PM.