草庐IT

cellforrowatindexpath

全部标签

关于objective C:ios CellForRowAtIndexPath 调用过多,导致 NSRangeException

iosCellForRowAtIndexPathiscalledtoomuch,causingaNSRangeException我已经创建了一个包含两个数据的数组:12345678{  name="Foo";  nbLikes=11;},  {  name="Bar";  nbLikes=5;}问题是,当我想用??cellForRowAtIndexPath解析这些数据时,我得到了一个NSRangeException,因为他们试图查看我数组的索引2。*Terminatingappduetouncaughtexception'NSRangeException',reason:'*-[__NSArr

关于objective C:ios CellForRowAtIndexPath 调用过多,导致 NSRangeException

iosCellForRowAtIndexPathiscalledtoomuch,causingaNSRangeException我已经创建了一个包含两个数据的数组:12345678{  name="Foo";  nbLikes=11;},  {  name="Bar";  nbLikes=5;}问题是,当我想用??cellForRowAtIndexPath解析这些数据时,我得到了一个NSRangeException,因为他们试图查看我数组的索引2。*Terminatingappduetouncaughtexception'NSRangeException',reason:'*-[__NSArr