Proyek
Lihat di GitHub
adad184/MMSpinImageView
Tentang
A UIView to show 360 degree spin photography
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliMMSpinImageView
MMSpinImageView is UIView to display 360 degree spin photography.

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;
Jelajahi proyek terkait
Memuat…