SDWebImageActivityIndicator

@interface SDWebImageActivityIndicator : NSObject <SDWebImageIndicator>

Activity indicator class. for UIKit(macOS), it use a UIActivityIndicatorView. for AppKit(macOS), it use a NSProgressIndicator with the spinning style.

  • Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) UIActivityIndicatorView *indicatorView

    Swift

    var indicatorView: UIActivityIndicatorView { get }

Conveniences

  • These indicator use the fixed color without dark mode support gray-style activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *grayIndicator;

    Swift

    class var gray: SDWebImageActivityIndicator { get }
  • large gray-style activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *grayLargeIndicator;

    Swift

    class var grayLarge: SDWebImageActivityIndicator { get }
  • white-style activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *whiteIndicator;

    Swift

    class var white: SDWebImageActivityIndicator { get }
  • large white-style activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *whiteLargeIndicator;

    Swift

    class var whiteLarge: SDWebImageActivityIndicator { get }
  • These indicator use the system style, supports dark mode if available (iOS 13+/macOS 10.14+) large activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *largeIndicator;

    Swift

    class var large: SDWebImageActivityIndicator { get }
  • medium activity indicator

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull, class) SDWebImageActivityIndicator *mediumIndicator;

    Swift

    class var medium: SDWebImageActivityIndicator { get }