I am trying to create an app that makes 3 buttons with 3 different sounds (less than 30 seconds). I can't seem to figure out the code. I am new to the iPhone SDK world (and programming world for that matter). I have tried to view the C tutorials in relation to Objective-C tutorials, but don't seem to be making any headwind.
So please don't flame me for my lack of knowledge!!!
So this is a snippet of the code I have so far. Where am I going wrong with it?
Code:
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSMutableArray *myArray;
myArray = [[NSMutableArray alloc] init];
myArray = [[[NSMutableArray alloc] initWithObjects"test.mp4", @"testb.mp4", @"testc.mp4", nil] retain];
[myArray release];
[pool release];
}
I am guessing that I am missing a Loop portion (in reference to Playing button sounds...help).
Thanks anyone and everyone for your help in advance!
So please don't flame me for my lack of knowledge!!!
So this is a snippet of the code I have so far. Where am I going wrong with it?
Code:
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSMutableArray *myArray;
myArray = [[NSMutableArray alloc] init];
myArray = [[[NSMutableArray alloc] initWithObjects"test.mp4", @"testb.mp4", @"testc.mp4", nil] retain];
[myArray release];
[pool release];
}
I am guessing that I am missing a Loop portion (in reference to Playing button sounds...help).
Thanks anyone and everyone for your help in advance!