AXPhotoProtocol
@objc
protocol AXPhotoProtocol : AnyObject, NSObjectProtocol
AXPhotoProtocol - @objc required for NSMapTable
-
The attributed title of the image that will be displayed in the photo’s
captionView
.Declaration
Swift
var attributedTitle: NSAttributedString? { get }
-
The attributed description of the image that will be displayed in the photo’s
captionView
.Declaration
Swift
var attributedDescription: NSAttributedString? { get }
-
The attributed credit of the image that will be displayed in the photo’s
captionView
.Declaration
Swift
var attributedCredit: NSAttributedString? { get }
-
The image data. If this value is present, it will be prioritized over
image
. Provide animated GIF data to this property.Declaration
Swift
var imageData: Data? { get set }
-
The image to be displayed. If this value is present, it will be prioritized over
URL
.Declaration
Swift
var image: UIImage? { get set }
-
The URL of the image.
Declaration
Swift
var url: URL? { get }
-
ax_progress
Extension methodAssociated Object: Progress
Declaration
Swift
var ax_progress: CGFloat { get set }
-
ax_error
Extension methodAssociated Object: Error
Declaration
Swift
var ax_error: Error? { get set }
-
ax_loadingState
Extension methodAssociated Object: Loading State
Declaration
Swift
var ax_loadingState: AXPhotoLoadingState { get set }
-
ax_isReducible
Extension methodHas URL
Declaration
Swift
var ax_isReducible: Bool { get }