GithubHelp home page GithubHelp logo

nivritgupta / 360-degree-view- Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 4.18 MB

make 360 degreeview of any Product , Make Sure Download the zipzap framework and add in your project before run the code Link is https://github.com/pixelglow/zipzap

License: MIT License

Objective-C 100.00%

360-degree-view-'s Introduction

360-degree-view-

make 360 degreeview of any Product of any view Like Car, chair , table ect ect MMSpinImageView

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;

360-degree-view-'s People

Contributors

nivritgupta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.