Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

moonman239

Cancelled
Original poster
Mar 27, 2009
1,541
32
I have a bunch of images in a directory called "buttons", which is in a directory called "pictures" and I'm not sure how to access it within my code.I know I can use

Code:
[[NSBundle mainBundle ] pathForResource:ofType:@"png" subdirectory:@"pictures"]

for images in "pictures", but I'm not sure how to access a file in "buttons".
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.