UIImageView

public extension UIImageView

ImageView+Animation provides a shortcut for creating animations using an image view

Author

Adamas

Date

17/08/2019

Version

1.5.0
  • Set a set of images.

    Declaration

    Swift

    func setImages(withPattern pattern: String,
                   fromIndex startIndex: Int = 0,
                   toIndex endIndex: Int)

    Parameters

    pattern

    The pattern of the image.

    startIndex

    The start index of the image set. Default is 0.

    endIndex

    The end index of the image set.

  • Calculate the real frame if the image within the UIImageView.

    Declaration

    Swift

    var imageFrame: CGRect? { get }