CanManageAsychronousParsing

protocol CanManageAsychronousParsing

A protocol describing an instance that can manage elements that can parse asynchronously. In the NSXMLSVGParser implementation, the parser maintains a simple count of pending asynchronous tasks and decrements the count when an element has finished parsing. When the count has reached zero, a completion block is called

  • The callback called when an ParsesAsynchronously element has finished parsing

    Declaration

    Swift

    func finishedProcessing(_ shapeLayer: CAShapeLayer)

    Parameters

    shapeLayer

    The completed layer