To run the example project, clone the repo, and run pod install
from the Example directory first.
Swift 4+ , Xcode9+
to have a scrollable stack of images:
1- you may have a simple UIView
.
2- assign it's class to be GalleryView
.
3- have an outlet for this view at your code.
4- you may initalize your view with array of
UIImages
using the function func initalize(with images: [UIImage])
Wohoo! we are done...
**NOTE : You can add any images while you are running with the function func addToLast(image : Image)
or you may just clearContent()
SwiftyGalleryView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftyGalleryView'
AbdoFoda, abdofoda2016@gmail.com
SwiftyGalleryView is available under the MIT license. See the LICENSE file for more info.