railwaymen / BSPhotoGallery

Smart gallery to browse images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSPhotoGallery

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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)

About

Smart gallery to browse images.

License:MIT License


Languages

Language:Objective-C 87.4%Language:Shell 7.7%Language:Swift 4.4%Language:Ruby 0.5%