Skip to content

KenanAtmaca/KSnapView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

KSnapView

iOS Social Media Story Image Loader 🤳

alt tag

Use

        snpView = KSnapView(to: self)
        snpView.duration = 4
        snpView.count = images.count
        snpView.delegate = self
        snpView.setup()
Use Delegate
  extension mainVC: KSnapViewDelegate {
  
    func didChange(index: Int) {
       self.imgView.image = images[index]
    }
    
    func finished(flag: Bool) {
        if flag {
            // finished
        }
    }
}
Next & Remove
       snpView.next()
       snpView.remove()

License

Usage is provided under the MIT License. See LICENSE for the full details.

Releases

No releases published

Packages

 
 
 

Languages