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
ImageScrollViewas anyUIImageViewbut with all additional options - Use convenience
ImageViewControllerorImageMotionViewController
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")
}
}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