Instance Method

abortParsing()

Stops the parser object.

Declaration

func abortParsing()

Discussion

If you invoke this method, the delegate, if it implements parser(_:parseErrorOccurred:), is informed of the cancelled parsing operation.

See Also

Parsing

func parse() -> Bool

Starts the event-driven parsing operation.

var parserError: Error?

An NSError object from which you can obtain information about a parsing error.