receivedData(_:with:)
Invoked when a data source has received some data.
Declaration
func receivedData(_ data: Data!, with dataSource: WebDataSource!)Parameters
- data:
An
NSDataobject containing the data received. - dataSource:
A
WebDataSourceobject 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.