Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 27, 2012, 03:59 PM   #1
jeanlain
macrumors 6502
 
Join Date: Mar 2009
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.


Any suggestions?
jeanlain is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Need help with iPhone 4 unlocked but still "No Service" on SIM CARD INSERTION mwaqasas iPhone Tips, Help and Troubleshooting 2 May 17, 2014 11:27 PM
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

Forum Jump

All times are GMT -5. The time now is 03:48 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC