Skip to content

Subclass of zvonicek/ImageSlideshow that supports fade transition between images

License

Notifications You must be signed in to change notification settings

XiangWuShuo/AZCrossDissolveImageSlideshow

Repository files navigation

AZCrossDissolveImageSlideshow

Subclass of zvonicek/ImageSlideshow that supports fade transition between images

demo of cross dissolve between images

imageSlideshow.setImageInputs(/* ... */)

imageSlideshow.crossFadeDuration = 0.5
imageSlideshow.crossFadeInterval = 2.0
imageSlideshow.contentScaleMode = .scaleAspectFill

for item in imageSlideshow.slideshowItems {
    item.imageView.cornerRadius = 10
}
imageSlideshow.configurePreviewImageView = { imageView in
    imageView.cornerRadius = 10
}

Install

pod 'AZCrossDissolveImageSlideshow', :git => 'https://github.com/XiangWuShuo/AZCrossDissolveImageSlideshow.git'

About

Subclass of zvonicek/ImageSlideshow that supports fade transition between images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published