iOS Social Media Story Image Loader 🤳
snpView = KSnapView(to: self)
snpView.duration = 4
snpView.count = images.count
snpView.delegate = self
snpView.setup()
extension mainVC: KSnapViewDelegate {
func didChange(index: Int) {
self.imgView.image = images[index]
}
func finished(flag: Bool) {
if flag {
// finished
}
}
}
snpView.next()
snpView.remove()
Usage is provided under the MIT License. See LICENSE for the full details.