Skip to content

OHAKO-Inc/ImgCarouselView

Repository files navigation

ImgCarouselView

Simple image carousel view.

Usage

let imgCarouselView = ImgCarouselView(frame: frame)

imgCarouselView.configure(
    imageSources: [
        .url(URL(string: url1)!), // fetch image from url
        .url(URL(string: url2)!),
        .image(UIImage(named: "image")) // set UIImage
    ],
    cellContentMode: .scaleAspectFill
)

// you can add this imgCarouselView anywhere!

Dependencies

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •