Guys
Guys

Reputation: 352

Iterating through all the subfolders of a folder in iphone

IS there any efficient way to iterate through all the subfolders I've created inside my iphone App's Documents folder ? (Of course, without knowing their names or how many there are...)

Thanks... Guy.

Upvotes: 2

Views: 2212

Answers (1)

Ole Begemann
Ole Begemann

Reputation: 135550

See the documentation for -[NSFileManager enumeratorAtPath:]. It contains sample code that does what you want.

Upvotes: 2

Related Questions