ASMultiplexImageNodeDataSource Protocol Reference
| Conforms to | NSObject |
| Declared in | ASMultiplexImageNode.h |
Instance Methods
multiplexImageNode:URLForImageIdentifier:
An image URL for the specified identifier.
- (NSURL *)multiplexImageNode:(id)imageNode URLForImageIdentifier:(id)imageIdentifierParameters
- imageNode
The sender.
- imageIdentifier
The identifier for the image that will be downloaded.
Return Value
An NSURL for the image identified by imageIdentifier, or nil if none is available.
Discussion
Supported URLs include assets-library, Photo framework URLs (ph://), HTTP, HTTPS, and FTP URLs. If the image is already available to the data source, it should be provided via [ASMultiplexImageNodeDataSource multiplexImageNode:imageForImageIdentifier:] instead.
Declared In
ASMultiplexImageNode.hmultiplexImageNode:imageForImageIdentifier:
An image for the specified identifier.
- (UIImage *)multiplexImageNode:(id)imageNode imageForImageIdentifier:(id)imageIdentifierParameters
- imageNode
The sender.
- imageIdentifier
The identifier for the image that should be returned.
Return Value
A UIImage corresponding to imageIdentifier, or nil if none is available.
Discussion
If the image is already available to the data source, this method should be used in lieu of providing the URL to the image via -multiplexImageNode:URLForImageIdentifier:.
Declared In
ASMultiplexImageNode.h