AXPhoto

final class AXPhoto : NSObject, AXPhotoProtocol

A simple wrapper class for AXPhotoProtocol.

  • The attributed title of the image that will be displayed in the photo’s overlay.

    Declaration

    Swift

    var attributedTitle: NSAttributedString?
  • The attributed description of the image that will be displayed in the photo’s overlay.

    Declaration

    Swift

    var attributedDescription: NSAttributedString?
  • The attributed credit of the image that will be displayed in the photo’s overlay.

    Declaration

    Swift

    var attributedCredit: NSAttributedString?
  • 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?
  • The image to be displayed. If this value is present, it will be prioritized over URL.

    Declaration

    Swift

    var image: UIImage?
  • url

    The URL of the image. If present, this value will be passed to a NetworkIntegration to be downloaded.

    Declaration

    Swift

    var url: URL?