Mac Developer Library

Developer

DRFolder Class Reference

Options
Deployment Target:

On This Page
Language:

DRFolder

Inheritance


Conforms To


Import Statement


Swift

import DiscRecording

Objective-C

@import DiscRecording;

Availability


Available in OS X v10.2 and later.

Represents a folder to be created on the burned disc.

DRFolders can be either a “real” folder pointing to an existing folder (residing on a hard drive for example) or can be a “virtual” folder which exists only on the resulting burned disc. A DRFolder pointing to an existing folder cannot have it's contents changed - only those files/folders which are children of the actual folder on disk will be included on the resulting disc. Virtual folders are entirely created programatically and any virtual folder structure can exist and be burned to disc. It is possible to convert a real folder to a virtual folder using the makeVirtual method.

  • Initializes a real file object

    Declaration

    Swift

    init!(path path: String!)

    Objective-C

    - (id)initWithPath:(NSString *)path

    Parameters

    path

    The path to an existing folder.

    Return Value

    A DRFolder object.

    Discussion

    Initializes a DRFolder object that will use the folder contents of the folder located at path as a source.

    Import Statement

    Objective-C

    @import DiscRecording;

    Swift

    import DiscRecording

    Availability

    Available in OS X v10.2 and later.

  • Creates a real folder object

    Declaration

    Objective-C

    + (DRFolder *)folderWithPath:(NSString *)path

    Parameters

    path

    The path to an existing file.

    Return Value

    An autoreleased DRFolder object.

    Discussion

    Creates and initializes a DRFolder object that will use the folder contents of the folder located at path as a source.

    Import Statement

    Objective-C

    @import DiscRecording;

    Availability

    Available in OS X v10.2 and later.