Class

INFile

An object that describes a file.

Declaration

class INFile : NSObject

Topics

Initializing a File Object

init(data: Data, filename: String, typeIdentifier: String?)

Creates a new file object with the specified data and identifier.

init(fileURL: URL, filename: String?, typeIdentifier: String?)

Creates a new file object with the specified URL and identifier.

Getting the File Information

var filename: String

The name of the file.

var data: Data

The data associated with a file.

var fileURL: URL?

The URL that describes the location of the file.

var typeIdentifier: String?

The type of the file.

Relationships

Inherits From

Conforms To