Re: [indexPath row] uncaught exception
Re: [indexPath row] uncaught exception
- Subject: Re: [indexPath row] uncaught exception
- From: Koen van der Drift <email@hidden>
- Date: Mon, 25 Mar 2013 16:16:56 -0400
I figured out the problem.
My tableview is part of an UIScrollView and UIPageControl set up where the user can swipe various table views into view. Now I failed to call reload of the tableView in viewWillAppear as well as when the pageControl switches, causing the wrong data to show up, and hence causing the out of bounds error.
- Koen.
On Mar 25, 2013, at 3:21 PM, Seth Willits <email@hidden> wrote:
> On Mar 25, 2013, at 12:01 PM, Koen van der Drift wrote:
>
>> Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 104 beyond bounds [0 .. 103]'.
>
> What's the stack trace when the exception is thrown?
>
>
> --
> Seth Willits
>
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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