File Extensions Problem
File Extensions Problem
- Subject: File Extensions Problem
- From: Adil Saleem <email@hidden>
- Date: Thu, 21 Aug 2008 23:29:39 -0700 (PDT)
Hi,
I want to display in a tableview, list of all media files (audio, video files) present in a certain directory.
Currently what i am doing is that i am getting the file names in an NSMutableArray using NSFileManager function directoryContentsAtPath
I get the list, but the problem is that it get all the files. I want only those files that have a certain extension (for example mp4, mp3). How can i do that.
Thanx in advance
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden