NSArray and image
hi
i am new to iphone app dev.
i am trying to make a NSArray with couple of image in it. images are stored in app directory. i want to load all images and display images by accessing that array using index. so far i am using doing this to load images
array = [NSMutableArray arrayWithObjects: @"1.png", @"2.png", nil];
and accessing it like this way
UIImage *img= [self.array objectAtIndex:index];
[disimg setImage:[img CGImage] atIndex:index type:quality];
obviously i am doing something wrong, pls help
|