ImageGalleryViewController

public final class ImageGalleryViewController : UIViewController
extension ImageGalleryViewController: UIScrollViewDelegate
extension ImageGalleryViewController: UICollectionViewDataSource

An simple image gallery. It loads the

  • A scroll view to dismiss the gellary by pull down.

    Declaration

    Swift

    public let scrollView: UIScrollView
  • A horizontal collection view with images.

    Declaration

    Swift

    public let collectionView: UICollectionView
  • An image URL’s.

    Declaration

    Swift

    public var imageURLs: [URL]
  • Undocumented

    Declaration

    Swift

    public override func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    public override var preferredStatusBarStyle: UIStatusBarStyle { get }

Scroll View

  • Undocumented

    Declaration

    Swift

    public func scrollViewDidScroll(_ scrollView: UIScrollView)

Collection View

  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView,
                               cellForItemAt indexPath: IndexPath) -> UICollectionViewCell