iphone - *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]' -


what meaning

* terminating app due uncaught exception 'nsrangeexception', reason: '* -[nsmutablearray objectatindex:]: index 1 beyond bounds [0 .. 0]'

so can solve problem thanks

zero based addressing.

if have 1 item in nsarray, first item in array @ index 0, not index 1.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -