프로젝트
GitHub에서 보기
JackTeam/XHImageViewer
소개
XHImageViewer is images viewer, zoom image.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
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.
관련 프로젝트 살펴보기
불러오는 중…