http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/enumeratorAtPath
:
In the above example's if statement inside the while loop, switch the
extension to .mov.  then if it matches I would add that file's name, path,
whatever you want, to a NSMutableArray or similar and then bind your table
view to that array.

+Clint

2009/7/2 Bright <ldl0313...@163.com>

> Hi all,
>   Suppose that all of the files are .mov file in a folder. Now in my App, I
> want to realize that it can
> extract the names of all the movie files in the folder. At the same time,
> it displays the names in the table
> view of my application when the application launches every time.
>   Could anyone give some directions about it ?  Both the basic principle
> and the key methods are important
> for me.
> Thx.
> Bright
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/cts3e1%40gmail.com
>
> This email sent to cts...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to