RichTextDocument
@objc
public class RichTextDocument : NSObject, RecursiveNode, NSCoding
The top level node which contains all other nodes.
@objc declaration, NSObject inheritance, and NSCoding conformance
are required so RichTextDocument
can be used as a
transformable Core Data field.
-
Declaration
Swift
public let nodeType: NodeType
-
Undocumented
Declaration
Swift
public internal(set) var content: [Node] { get }
-
Undocumented
Declaration
Swift
public init(content: [Node])
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public func encode(with aCoder: NSCoder)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration