(Let's try this with a subject!)

I'm getting *** Assertion failure in -[UITableView 
_endCellAnimationsWithContext:],  but I'm not getting the message like this 
that you typically get (there's no message indicating what went wrong):

'Invalid update: invalid number of rows in section 0.  The number of rows 
contained in an existing section after the update (1) must be equal to the 
number of rows contained in that section before the update (1), plus or minus 
the number of rows inserted or deleted from that section (1 inserted, 0 
deleted).'

Every time a new thing is added to the list (as a result of scanning for BLE 
peripherals), I'm calling beginUpdate, doing an insert, add to the backing 
array, optionally a deletion (only on the first insert to get rid of a "none 
found" cell), and endUpdate. The assertion fires on the -endUpdate call at the 
fifth insert.

So, this works most of the time. I can't figure out what's going on. Checking 
all the counts they seem fine.

Any ideas what else may be going on?

-- 
Rick



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to