Contents

receivedData(_:with:)

Invoked when a data source has received some data.

Declaration

func receivedData(_ data: Data!, with dataSource: WebDataSource!)

Parameters

  • data:

    An NSData object containing the data received.

  • dataSource:

    A WebDataSource object that identifies the request that generated this data.

Discussion

Data is loaded incrementally, so this method may be invoked multiple times. The receiver is responsible for accumulating this data.

See Also

Loading content