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 }
  • url

    The URL of the image.

    Declaration

    Swift

    var url: URL? { get }

Internal AXPhotoProtocol extension to be used by the framework.