Member Since: Jun 25, 2005
Location: On the road
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
11-06-2011, 08:37 PM
What line is the crash occurring on? Knowing that is needed to diagnose the issue.
I'd also place the invalidate immediately at the start of the block it is in, not at the end.
You've hardcoded 1 in the objectAtIndex, but if there is only one object in the array, you'll get a crash. How does arraySound get filled?
I'm not sure what you are asking when you say "Any suggestions of tips on how i can get this to function with multiple arrays?". And I wonder what does "...multiple files. They are all arrays." mean.
A tip. You can get rid of the buf NSString variable by doing the following.
countLabel.text = [NSString stringWithFormat: @"%d", count];
CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.