• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Counting the number of files in a directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Counting the number of files in a directory (From: dew drops <email@hidden>)
 >Re: Counting the number of files in a directory (From: Michael Watson <email@hidden>)
 >Re: Counting the number of files in a directory (From: Chris Suter <email@hidden>)
 >Re: Counting the number of files in a directory (From: Ken Tozier <email@hidden>)
 >Re: Counting the number of files in a directory (From: Christopher Hickman <email@hidden>)

  • Prev by Date: MEETING: Chicago CocoaHeads / CAWUG Tuesday 3/13 - Core Image
  • Next by Date: Re: Access to value in dictionary from Interface Builder?
  • Previous by thread: Re: Counting the number of files in a directory
  • Next by thread: Re: Counting the number of files in a directory
  • Index(es):
    • Date
    • Thread