AEImage 3.1.1

AEImage 3.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2019
SPMSupports SPM

Maintained by tadija.



AEImage 3.1.1

Swift 5.1 Platforms iOS CocoaPods Carthage Swift Package Manager License MIT

AEImage

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

Super awesome lightweight and easy to use image viewer with all the standard options + some more. It may be used from code or storyboard and as it frame changes, it will always rescale image appropriately based on its settings.

It has standard zoom support, but also integrated gyro motion tracking and image scrolling based on device movement. Last but not least, it has "infinite scroll" effect in both horizontal and vertical direction which may be useful for 360 panorama images or whatever you may think of.

AEImage

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.