• 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: UITableView: combining row moves with insert/delete/reload in animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView: combining row moves with insert/delete/reload in animation


  • Subject: Re: UITableView: combining row moves with insert/delete/reload in animation
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 08 Mar 2016 13:33:55 -0800

> On Mar 8, 2016, at 11:58 AM, Luke Hiesterman <email@hidden> wrote:
>
> If you’re getting asked to create a row at index 3 from that code snippet, then that looks like a UIKit bug. I’d advise filing it at bugreport.apple.com <http://bugreport.apple.com/> including a sample app showing that behavior.

Will do. I have a commit from while it was in that state, and this is a small test app.

I was able to work around the problem by moving the reloadRows call to after -endUpdates. Of course I had to modify the row numbers to the post-insert/delete/move values. It even seems to merge the animations together seamlessly.

—Jens
_______________________________________________

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: UITableView: combining row moves with insert/delete/reload in animation
      • From: Luke Hiesterman <email@hidden>
References: 
 >UITableView: combining row moves with insert/delete/reload in animation (From: Jens Alfke <email@hidden>)
 >Re: UITableView: combining row moves with insert/delete/reload in animation (From: Luke Hiesterman <email@hidden>)

  • Prev by Date: Re: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?
  • Next by Date: Re: UITableView: combining row moves with insert/delete/reload in animation
  • Previous by thread: Re: UITableView: combining row moves with insert/delete/reload in animation
  • Next by thread: Re: UITableView: combining row moves with insert/delete/reload in animation
  • Index(es):
    • Date
    • Thread