Latest 1.0.0
Homepage https://github.com/josechagas/JLCustomImagesViewerView
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/José Lucas/JLCustomImagesViewerView.svg?style=flat)](https://travis-ci.org/José Lucas/JLCustomImagesViewerView)
Version
License
Platform

Example

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

Requirements

Installation

JLCustomImagesViewerView is available through CocoaPods. To install
it, simply add the following line to your Podfile:


pod "JLCustomImagesViewerView"
``

## Using this Library
##### *First Step*

Import it on every file that you will use this framework.

```swift
import JLCustomImagesViewerView
``
##### *Second Step*

    Create an instance of JLCustomImagesViewerView

```swift
//This is an effect you apply to the view , you are free to choose anyone
let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark)

let viewer = JLCustomImagesViewerView(effect: blurEffect)
``

##### *Optional Step*

    Call this method for you add a page control on the view

- parameter aligment: the position aligment of the pageControl
- parameter tintColor: tint color of the pageControl
- parameter currentPageColor: current page color indicator of the pageControl

```swift
public func addPageControl(aligment:ComponentAligment,tintColor:UIColor,currentPageColor:UIColor)
``

##### *Third Step*
    Call this method to show the JLCustomImagesViewerView with the images you want

- parameter images: Array of images that you want to see
- parameter view: The view where you want to show it
- parameter showViewCompletion: A block that will be executed after present the JLCustomImagesViewerView
- parameter hideViewCompletion: A block that will be executed after remove the JLCustomImagesViewerView

```swift
public func showViewerForImages(images:[UIImage],OnView view:UIView,showViewCompletion:(()->())?,hideViewCompletion:(()->())?)
``

#### *That's it, now you are ready to use it*

## Author

José Lucas, [email protected]

## License

JLCustomImagesViewerView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JLCustomImagesViewerView",
    "version": "1.0.0",
    "summary": "This is the one for you can see one or more images in a detail view where you can zoom in, zoom out and execute some other gestures",
    "description": "This is a library really simple to use where you can show 1,2,3 so how many images you want to the user where he can zoom in , out and other gestures necessary to see all details of the images",
    "homepage": "https://github.com/josechagas/JLCustomImagesViewerView",
    "license": "MIT",
    "authors": {
        "Josu00e9 Lucas": "[email protected]"
    },
    "source": {
        "git": "https://github.com/josechagas/JLCustomImagesViewerView.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Pod/Classes/*.swift"
}

Pin It on Pinterest

Share This