OK.
So randomly while coding I get a crash and 'terminating due to uncaught exception', and I have no idea really what happened as I was just doing some tweaking.
Basically what I thought I would do is that I regularly zip up my development directory incrementally so that I can back track through the development process should disaster occur.
Fortunately I had backed up a day ago, and I had only been working on a small part of code, so I thought I would copy/paste the new code into textedit, then delete the contents of my current project directory and reinstate it from the zip file I made a day ago.
But this old project, which had been working on just fine until 20 minutes ago, and certainly was not crashing when I zipped it up yesterday is ALSO crashing with an uncaught exception.
Advice Please - Thanks.
here is the exception
Code:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)'