Latest 1.1
Homepage https://github.com/ldjhust/FSImageViewer
License MIT
Platforms ios 8.0, requires ARC
Authors

FSImageViewer

Introduction

A lightweight framework that simulate WeiXin’s image viewer use Swift2.0.

If you are looking for Objective-C version, here it is QKImageViewer

use Xcode 7.0 to run the sample code.

(shown)

Feature

  • [x] show local image view
  • [ ] show remote image view with url

Installation

CocoaPods

To integrate FSImageViewer into your Xcode project using CocoaPods, specify it in your Podfile like download:

platform :ios, '8.0'
use_frameworks!

pod 'SwiftFSImageViewer', '~> 1.1'

Then, run the following command line in your terminal:

$ pod install

Manually

If you prefer not to use CocoaPods, you can integrate FSImageViewer into your project manually. Download the source code, and then drag the FSImageViewer/*.swift into your project.

Usage

import SwiftFSImageViewer

FSImageViewer.sharedFSImageViewer.showImageView(self.cat1, atPoint: self.cat1.center)

License

FSImageViewer is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "SwiftFSImageViewer",
    "version": "1.1",
    "summary": "A light framework that simulate WeiXin's image viewer.",
    "homepage": "https://github.com/ldjhust/FSImageViewer",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "ldjhust": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ldjhust/FSImageViewer.git",
        "tag": "1.1"
    },
    "source_files": "FSImageViewerDemo/FSImageViewerDemo/FSImageViewer/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This