重庆迈尖科技有限公司
2019-01-30 94217b294ccd75a34787eb04d6e273e99536e45b
Pods/SDWebImage/SDWebImage/UIButton+WebCache.h
@@ -17,12 +17,12 @@
 */
@interface UIButton (WebCache)
#pragma mark - Image
/**
 * Get the current image URL.
 */
- (nullable NSURL *)sd_currentImageURL;
#pragma mark - Image
/**
 * Get the image URL for a control state.
@@ -40,7 +40,7 @@
 * @param state The state that uses the specified title. The values are described in UIControlState.
 */
- (void)sd_setImageWithURL:(nullable NSURL *)url
                  forState:(UIControlState)state;
                  forState:(UIControlState)state NS_REFINED_FOR_SWIFT;
/**
 * Set the imageView `image` with an `url` and a placeholder.
@@ -54,7 +54,7 @@
 */
- (void)sd_setImageWithURL:(nullable NSURL *)url
                  forState:(UIControlState)state
          placeholderImage:(nullable UIImage *)placeholder;
          placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;
/**
 * Set the imageView `image` with an `url`, placeholder and custom options.
@@ -69,7 +69,7 @@
- (void)sd_setImageWithURL:(nullable NSURL *)url
                  forState:(UIControlState)state
          placeholderImage:(nullable UIImage *)placeholder
                   options:(SDWebImageOptions)options;
                   options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;
/**
 * Set the imageView `image` with an `url`.
@@ -105,7 +105,7 @@
- (void)sd_setImageWithURL:(nullable NSURL *)url
                  forState:(UIControlState)state
          placeholderImage:(nullable UIImage *)placeholder
                 completed:(nullable SDExternalCompletionBlock)completedBlock;
                 completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;
/**
 * Set the imageView `image` with an `url`, placeholder and custom options.
@@ -128,7 +128,19 @@
                   options:(SDWebImageOptions)options
                 completed:(nullable SDExternalCompletionBlock)completedBlock;
#pragma mark - Background image
#pragma mark - Background Image
/**
 * Get the current background image URL.
 */
- (nullable NSURL *)sd_currentBackgroundImageURL;
/**
 * Get the background image URL for a control state.
 *
 * @param state Which state you want to know the URL for. The values are described in UIControlState.
 */
- (nullable NSURL *)sd_backgroundImageURLForState:(UIControlState)state;
/**
 * Set the backgroundImageView `image` with an `url`.
@@ -139,7 +151,7 @@
 * @param state The state that uses the specified title. The values are described in UIControlState.
 */
- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
                            forState:(UIControlState)state;
                            forState:(UIControlState)state NS_REFINED_FOR_SWIFT;
/**
 * Set the backgroundImageView `image` with an `url` and a placeholder.
@@ -153,7 +165,7 @@
 */
- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
                            forState:(UIControlState)state
                    placeholderImage:(nullable UIImage *)placeholder;
                    placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;
/**
 * Set the backgroundImageView `image` with an `url`, placeholder and custom options.
@@ -168,7 +180,7 @@
- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
                            forState:(UIControlState)state
                    placeholderImage:(nullable UIImage *)placeholder
                             options:(SDWebImageOptions)options;
                             options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;
/**
 * Set the backgroundImageView `image` with an `url`.
@@ -204,7 +216,7 @@
- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
                            forState:(UIControlState)state
                    placeholderImage:(nullable UIImage *)placeholder
                           completed:(nullable SDExternalCompletionBlock)completedBlock;
                           completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;
/**
 * Set the backgroundImageView `image` with an `url`, placeholder and custom options.