• Stars
    star
    280
  • Rank 147,492 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 11 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A UIView to show 360 degree spin photography

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;

More Repositories

1

MMPopupView

Pop-up based view(e.g. alert sheet), can be easily customized.
Objective-C
2,108
star
2

MMTweenAnimation

A extension of POP(from facebook) custom animation. Inspired by tweaner(https://code.google.com/p/tweaner), MMTweanerAnimation provide 10 types of custom animation while using POP.
Objective-C
1,125
star
3

MMPlaceHolder

A drop in solution to show UIView's size. Only one line code to use it.
Objective-C
982
star
4

MMParallaxCell

A subclass of UITableViewCell to present the parallax effect
Objective-C
456
star
5

MMPulseView

Objective-C
184
star
6

DemoTaskTray

Demo shows advanced usage with iCarousel. A copycat of task tray in iOS9
Objective-C
151
star
7

DemoBackgroundLocationUpdate

Demo shows how to deal with background location update
Objective-C
130
star
8

XXPagingScrollView

Paged scrollView with custom paging width
Swift
113
star
9

DemoComplexCell

Demo for how to deal with complex cell
Objective-C
54
star
10

DemoQRCode

Demo shows how to deal with QRCode without 3rd party library
Objective-C
51
star
11

DemoMasonry

demo shows how to use Masonry.
Objective-C
49
star
12

MMNavigatorFont

A xcode plugin to change the font of navigator
Objective-C
46
star
13

DemoMasonryPlus

2015-12-12 douyu source & keynote
Objective-C
44
star
14

DemoDiallingCode

Demo shows how to deal with dialling code
Objective-C
36
star
15

DemoScrollViewAutolayout

Demo show how uiscrollview works with autolayout
Objective-C
35
star
16

DemoNavigationURI

Demo shows Navigation With URI
Objective-C
30
star
17

XXPlaceHolder

Swift version of MMPlaceHolder
Swift
26
star
18

MMCategory

categories i used in projects
Objective-C
18
star
19

DemoTodayWidget

Demo show how to build today widget programmatically
Objective-C
8
star
20

DemoAntiAliasing

Demo shows Anti-Aliasing with rotated image
Objective-C
7
star
21

XXPopupView

Swift version of MMPopupView
2
star
22

adad184.github.com

HTML
2
star
23

DemoAutolayout

1
star
24

adad184.github.com.source

JavaScript
1
star
25

TheManWhoChangedTengxun

You know it!
1
star