Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

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.
Example:
dim d as new NSDirectoryEnumeratorMBS(SpecialFolder.Desktop)
dim f as string = d.nextObject

while len(f)>0
List.AddRow f

f=d.nextObject
wend
Notes:
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:


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


NSDatePickerMBS   -   NSDistributedNotificationCenterMBS




Links
MBS FileMaker blog