PisthFile

public class PisthFile : NSObject, NSCoding

Object for representing an imported file.

  • Returns the data of the file.

    Declaration

    Swift

    public var data: Data { get }
  • Returns the filename.

    Declaration

    Swift

    public var filename: String { get }
  • Initialize with given info.

    Declaration

    Swift

    public init(data: Data, filename: String)

    Parameters

    data

    File’s data.

    file

    Filename.

  • Encode.

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)
  • Decode.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)