iOS Developer Library

Developer

Foundation Framework Reference NSDirectoryEnumerator Class Reference

Options
Deployment Target:

On This Page
Language:

NSDirectoryEnumerator

An NSDirectoryEnumerator object enumerates the contents of a directory, returning the pathnames of all files and directories contained within that directory. These pathnames are relative to the directory. More...

Inheritance


Import Statement


import Foundation @import Foundation;

Availability


Available in iOS 2.0 and later.
  • Causes the receiver to skip recursion into the most recently obtained subdirectory.

    Declaration

    Swift

    func skipDescendents()

    Objective-C

    - (void)skipDescendents

    Import Statement

    import Foundation

    Availability

    Available in iOS 2.0 and later.

  • Causes the receiver to skip recursion into the most recently obtained subdirectory.

    Declaration

    Swift

    func skipDescendants()

    Objective-C

    - (void)skipDescendants

    Discussion

    This method is identical to skipDescendents except for the spelling.

    Import Statement

    import Foundation

    Availability

    Available in iOS 4.0 and later.