Latest 0.4
Homepage https://github.com/kunass2/BSPhotoGallery
License MIT
Platforms ios 8.0
Dependencies SDWebImage
Authors

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)

Latest podspec

{
    "name": "BSPhotoGallery",
    "version": "0.4",
    "summary": "Quick and smart preview of your photos in latest Swift version.",
    "description": "Preview, pinch and zoom your gallery just right on your screen.",
    "homepage": "https://github.com/kunass2/BSPhotoGallery",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Bartu0142omiej Semau0144czyk": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kunass2/BSPhotoGallery.git",
        "tag": "0.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BSPhotoGallery/Classes/**/*",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This