ifish/Ifish/views/Photo/LYPhotoShowView.h

33 lines
669 B
Objective-C
Executable File

//
// LYPhotoShowView.h
// Droplets
//
// Created by 米明 on 15/12/29.
// Copyright © 2015年 米明. All rights reserved.
//
#import <UIKit/UIKit.h>
@class LYPhoto;
typedef void(^LYPhotoActionBlock)(NSInteger index);
@interface LYPhotoShowView : UIView
@property(nonatomic,strong) NSArray * images;//urls , names or images
@property(nonatomic,copy)LYPhotoActionBlock photoActionCallback;
@property(nonatomic,strong)UIScrollView * scrollView;
-(void)show;
-(void)dismiss;
@property(nonatomic,strong) NSArray * nameLabels;
- (void)setImages:(NSArray *)images nameLabels:(NSArray *)nameLabels;
//指示条
@property(nonatomic,strong) UIView *line;
@end