Mac Developer Library

Developer

DRFile Class Reference

Options
Deployment Target:

On This Page
Language:

DRFile

Represents a file to be created on the disc. More...

Inheritance


Conforms To


Import Statement


import DiscRecording @import DiscRecording;

Availability


Available in OS X v10.2 and later.
  • Initializes a real file object

    Declaration

    Swift

    init!(path path: String!)

    Objective-C

    - (id)initWithPath:(NSString *)path

    Parameters

    path

    The path to an existing file.

    Return Value

    An DRFile object.

    Discussion

    This type of DRFile reads in data from an existing file located at path and burns that data to disc.

    Import Statement

    import DiscRecording

    Availability

    Available in OS X v10.2 and later.

  • Creates a real file object

    Declaration

    Objective-C

    + (DRFile *)fileWithPath:(NSString *)path

    Parameters

    path

    The path to an existing file.

    Return Value

    An autoreleased DRFile object.

    Discussion

    This type of DRFile reads in data from an existing file located at path and burns that data to disc.

    Import Statement

    Availability

    Available in OS X v10.2 and later.