Re: Images in folder - simple question?
Re: Images in folder - simple question?
- Subject: Re: Images in folder - simple question?
- From: email@hidden (Dominik Gwosdek)
- Date: Wed, 28 Jan 2004 18:51:03 +0100
Ok,
it runs now :-)
Here is the code:
- (IBAction)forwardButton:(id)sender
{
imageArray = [[NSFileManager defaultManager]
directoryContentsAtPath:@"/users/dom/Desktop/images/"];
currentIndex++;
NSImage *image = [NSImage imageNamed:[imageArray
objectAtIndex:currentIndex]];
[showImage setImage: image];
}
A big thank you again.
Dominik
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.