To run the example project, clone the repo, and run pod install
from the Example directory first.
BSPhotoGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BSPhotoGallery"
If you used use_framework
in your podfile just simply do:
import BSPhotoGallery
for every file when you need to use it.
you may also use:
@import BSPhotoGallery
within bridging header file and avoid to import framework for every needed file.
##Usage
######Simply create your gallery object using array of strings
let gallery = BSPhotoGallery(urls: urls).controller()
######or using array of images
let gallery = BSPhotoGallery(images: images).controller()
######then just present your gallery
present(gallery, animated: true)