Skip to content
프로젝트

소개

A UIView to show 360 degree spin photography

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

MMSpinImageView

CocoaPods CocoaPods CocoaPods

MMSpinImageView is UIView to display 360 degree spin photography.

demo

Usage

There's 3 ways to use MMSpinImageView.

you can use datasource to provide your images.

@protocol MMSpinImageViewDelegate <NSObject>

@optional

- (void)spinImageView:(MMSpinImageView*)view didSelectAtIndex:(NSInteger)index;
- (void)spinImageViewBeginLoadData:(MMSpinImageView*)view;
- (void)spinImageViewEndLoadData:(MMSpinImageView*)view;
- (void)spinImageViewFailedLoadData:(MMSpinImageView*)view;

@end

@protocol MMSpinImageViewDatasource <NSObject>

- (UIImage *)spinImageView:(MMSpinImageView *)view imageAtIndex:(NSInteger)index;

@optional
- (NSInteger)numberOfViewsInspinImageView:(MMSpinImageView *)spinImageView;

@end

or you can directly set the images array.

@property (nonatomic, strong)   NSArray  *imagesArray;

and maybe you want to load images from zip file.( this feather depends on zipzap, you can remove relative methods if you don't need this)

- (void)loadDataFromZip:(NSString*)path;

관련 프로젝트 살펴보기

불러오는 중…