Contents

readRTFD(fromFile:)

Attempts to read the RTFD file at the specified path.

Declaration

func readRTFD(fromFile path: String) -> Bool

Return Value

true if successful; otherwise, false.

Discussion

path should be the path for an .rtf file or an .rtfd file wrapper, not for the RTF file within an .rtfd file wrapper.

See Also

Reading and writing RTF files