Platforms to show: All Mac Windows Linux Cross-Platform

NSDirectoryEnumeratorMBS class

Super class: NSEnumeratorMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa MBS MacCocoa Plugin 9.8 Yes No No Yes, macOS only No
Function: An NSDirectoryEnumerator object enumerates the contents of a directory, returning the pathnames of all files and directories contained within that directory.
dim d as new NSDirectoryEnumeratorMBS(SpecialFolder.Desktop)
dim f as string = d.nextObject

while len(f)>0
List.AddRow f

These pathnames are relative to the directory.

An enumeration is recursive, including the files of all subdirectories, and crosses device boundaries. An enumeration does not resolve symbolic links, or attempt to traverse symbolic links that point to directories.
Subclass of the NSEnumeratorMBS class.

Feedback, Comments & Corrections

Super class NSEnumeratorMBS

This class has no sub classes.

Some examples which use this class:

Blog Entries

The items on this page are in the following plugins: MBS MacCocoa Plugin.

NSDatePickerMBS   -   NSDistributedNotificationCenterMBS

The biggest plugin in space...

MBS FileMaker Plugins