VGSImageViewDelegate
@objc
public protocol VGSImageViewDelegate
Delegate methods produced by VGSImageView
.
-
Tells the delegate the image was displayed in view.
Declaration
Swift
@objc optional func imageDidChange(in imageView: VGSImageView)
Parameters
imageView
VGSImageView
view in which image was changed. -
Tells the delegate when image view encounters an error.
Declaration
Swift
@objc optional func imageView(_ imageView: VGSImageView, didFailWithError error: VGSShowError)
Parameters
imageView
VGSImageView
view in which error was occurred.error
VGSShowError
object, contains error information.