Skip to content

FileOpener

rockbruno edited this page May 9, 2020 · 1 revision

FileOpener

open class FileOpener

Initializers

init()

public init()

Methods

stringContents(ofUrl:)

open func stringContents(ofUrl url: URL) throws -> String

dataContents(ofUrl:)

open func dataContents(ofUrl url: URL) throws -> Data

plistContents(ofPath:)

open func plistContents(ofPath path: String) -> NSDictionary?

write(data:toUrl:)

open func write(data: Data, toUrl url: URL) throws
Clone this wiki locally