SKEditorExtractTextFromComment
open class SKEditorExtractTextFromComment : SKSourceTextResponse
Represents a SourceKit editor text extraction request.
-
Creates a new synchronous SourceKit editor text extraction request.
Warning
The request is sent synchronously, so ensure this initializer is not called on the main thread.
Throws
A
SKError
, if an error occurs.Declaration
Swift
public init(_ comment: String) throws
Parameters
comment
The raw comment to extract the text from.
-
Undocumented
Declaration
Swift
public required init(from decoder: Decoder) throws