Contents

tadija/aeimage

**Adaptive image viewer for iOS (with support for zoom, gyro motion and infinite scroll)**

Index

Features

  • Adaptive image viewer with multiple display modes
  • Infinite scroll effect - horizontal and vertical (optional`)
  • Gyro motion based scrolling (optional)

Usage

  • Use ImageScrollView as any UIImageView but with all additional options
  • Use convenience ImageViewController or ImageMotionViewController
import AEImage

class ExampleImageViewController: ImageMotionViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()

        imageScrollView.displayMode = .fillHeight
        imageScrollView.infiniteScroll = .horizontal
        
        isMotionEnabled = true
        motionSensitivity = 1.5
        
        image = UIImage(named: "demo")
    }
    
}

For more details check out Sources and Example.

Installation

.package(url: "https://github.com/tadija/AEImage.git", .upToNextMajor(from: "3.1.1")),
github "tadija/AEImage"
pod 'AEImage'

License

This code is released under the MIT license. See LICENSE for details.

Package Metadata

Repository: tadija/aeimage

Default branch: master

README: README.md