Latest 0.1.2
Homepage https://github.com/JackTeam/XHImageViewer
License MIT
Platforms ios 5.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

image
XHImageViewer

XHImageViewer is images viewer, zoom image

How to use

Easy to drop into your project. You can add this feature to your own project, XHImageViewer is easy-to-use.

#import "XHImageViewer.h"    

XHImageViewer *imageViewer = [[XHImageViewer alloc] init];
imageViewer.delegate = self;
[imageViewer showWithImageViews:_imageViews selectedView:imageView];

_imageViews is mutiple imageViews(subClass UIImageView or UIImageView)
imageView is user touch imageView to selectedImageView

Easy to use download web image form the open source.

#import "UIImageView+XHURLDownload.h"

UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 160, 200)]
[imageView setDefaultLoadingView];
[imageView loadWithURL:[NSURL URLWithString:@"http://www.pailixiu.com/IMG_1388.JPG"]];

multiple api to useļ¼š
- (void)loadWithURL:(NSURL *)url placeholer:(UIImage *)placeholerImage;
- (void)loadWithURL:(NSURL *)url placeholer:(UIImage *)placeholerImage showActivityIndicatorView:(BOOL)show;
- (void)loadWithURL:(NSURL *)url placeholer:(UIImage *)placeholerImage showActivityIndicatorView:(BOOL)show completionBlock:(void(^)(UIImage *image, NSURL *url, NSError *error))handler;

Profile

CocosPods is the recommended methods of installation XHImageViewer, just add the following line to Profile:

pod 'XHImageViewer'

Lincense

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

Latest podspec

{
    "name": "XHImageViewer",
    "version": "0.1.2",
    "summary": "XHImageViewer is images viewer, zoom image.",
    "homepage": "https://github.com/JackTeam/XHImageViewer",
    "license": "MIT",
    "authors": {
        "xhzengAIB": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JackTeam/XHImageViewer.git",
        "tag": "v0.1.2"
    },
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ],
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "Source",
    "resources": "Source/Resources/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This