ModalServices / FJSImageViewController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FJSImageViewController

Show Image, and can pan and pinch the image. You can save effort to make ImageViewController.

Carthage compatible

Features

  • Show Image, and can pan and pinch the image.

fjsimageviewcontroller

How to use

Create FJSImageViewController instance where you want.

let imageVC = FJSImageViewController()
imageVC.image = UIImage(named: "sample.jpg")
presentViewController(imageVC, animated: false, completion: nil)

Runtime Requirements

  • iOS8.0 or later
  • Xcode 7.0 - Swift2.0

Installation and Setup

Installing with CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate FJSImageViewController into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'FJSImageViewController'

Then, run the following command:

$ pod install

Installing with Carthage

Just add to your Cartfile:

github "fuji2013/FJSImageViewController"

Manual Installation

To install FJSAlertController without a dependency manager, please add FJSImageViewController.swift to your Xcode Project.

Contribution

Please file issues or submit pull requests for anything you’d like to see! We're waiting! :)

License

FJSImageViewController.swift is released under the MIT license. Go read the LICENSE file for more information.

About

License:MIT License


Languages

Language:Swift 82.0%Language:Ruby 10.9%Language:Objective-C 7.1%