Simplify creation of Photos Framework NSURLs in ASMultiplexImageNode

This commit is contained in:
Adlai Holler
2015-10-02 12:44:21 -07:00
parent 5f49e0f67d
commit de1f9788f3
5 changed files with 65 additions and 39 deletions

View File

@@ -48,8 +48,6 @@ extern NSString *const ASPhotosURLScheme;
@discussion Some properties of this object are ignored when converting this request into a URL.
As of iOS SDK 9.0, these properties are `progressHandler` and `synchronous`.
Note that ASMultiplexImageNode does not support PHImageRequestOptionsDeliveryModeOpportunistic
because it sends multiple images, and that mode will be replaced by PHImageRequestOptionsDeliveryModeHighQualityFormat
*/
@property (nonatomic, strong) PHImageRequestOptions *options;
@@ -65,13 +63,4 @@ extern NSString *const ASPhotosURLScheme;
@end
@interface NSURL (ASPhotosRequestConverting)
/**
@abstract A convenience function that calls `[ASPhotosFrameworkImageRequest requestWithURL:self]`.
*/
- (/*nullable*/ ASPhotosFrameworkImageRequest *)asyncdisplaykit_photosRequest;
@end
// NS_ASSUME_NONNULL_END