• 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
nstableview remove/insert rows question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nstableview remove/insert rows question


  • Subject: nstableview remove/insert rows question
  • From: "Rick C." <email@hidden>
  • Date: Thu, 28 Jun 2012 19:30:32 +0800

Hi,

Got a view-based table view and instead of using reloadData I'm removing the existing rows and inserting the new rows so that I can have animation.  I'm also resizing the window in-between these 2 steps because my window resizes to fit how many rows are in my table view.  This works great when my window doesn't resize (due to same amount of rows) or resizes very little.  However let's say I have only 2 rows then remove those 2 rows and resize the window (using setFrame:display:animate:) and finally insert a much larger amount of rows like 15 what happens is the top 5 or 6 rows animate as expected but the rows further down just appear as if I was calling reloadData.  I have checked this and reloadData is not being called, but I can't figure out why all rows don't animate.  Any ideas?

Thanks,

rc
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: nstableview remove/insert rows question
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Handling "Smart Zoom" gesture?
  • Next by Date: Re: 10.6 SDk and 10.5 Deployment
  • Previous by thread: Re: Bidirectional, Manual Binding in custom control
  • Next by thread: Re: nstableview remove/insert rows question
  • Index(es):
    • Date
    • Thread