/QKImageViewer

轻量级仿微信图片浏览,Objective-C实现

Primary LanguageObjective-CMIT LicenseMIT

QKImageViewer

Introduction

A lightweight framework that simulate WeiXin's image viewer use Objective-C.

If you are looking for Swift version, here it is FSImageViewer

use Xcode 7.0 to run the sample code.

(shown)

Feature

  • show local image view
  • show remote image view with url

Installation

CocoaPods

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

platform :ios, '8.0'

pod 'QKImageViewer', '~> 1.0'

Then, run the following command line in your terminal:

$ pod install

Manually

If you prefer not to use CocoaPods, you can integrate QKImageViewer into your project manually. Download the source code, and then drag the QKImageViewer/*.{h,m} into your project.

Usage

#import "QKImageViewer.h"

[[QKImageViewer sharedQKImageViewer] showImageView:image1 atPoint:image1.center];

License

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