Re: Counting the number of files in a directory
Re: Counting the number of files in a directory
- Subject: Re: Counting the number of files in a directory
- From: Ken Tozier <email@hidden>
- Date: Tue, 6 Mar 2007 11:50:58 -0500
On Mar 6, 2007, at 7:13 AM, Christopher Hickman wrote:
I wouldn't use this method name, because according to standard
conventions one would assume a method with a name like this would
return an array of files. I'd use +countOfFilesInDirectory: instead.
Agreed. After thinking on it a bit more, it would probably be better
to create a MyCatInfo class and make it so that you could get other
types of catalog info besides just the directory valence. Would be
more useful and rusable that way.
-Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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