ifish/Ifish/UMCommunity/UMCommunitySDK/UMCommunityUI/simple/CustomView/GridView/UMComSimpleGridView.h

33 lines
857 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// UMComGridView.h
// UMCommunity
//
// Created by luyiyuan on 14/8/27.
// Copyright (c) 2014年 luyiyuan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UMComSimpleGridViewerController.h"
@interface UMComSimpleGridView : UIView
@property (nonatomic, strong) void (^TapInImage)(UMComSimpleGridViewerController *viewerViewController, UIImageView *imageView);
@property (nonatomic, assign) CGFloat totalWidth;
- (id)initWithArray:(NSArray *)array placeholder:(UIImage *)placeholder cellPad:(NSUInteger)cellPad;
- (void)setImages:(NSArray *)images placeholder:(UIImage *)placeholder cellPad:(NSInteger)cellPad;
- (void)setArray:(NSArray *)array;
- (void)setPresentFatherViewController:(UIViewController *)viewController;
//默认一周60*60*24*7
- (void)setCacheSecondes:(NSTimeInterval)secondes;
- (void)startDownload;
@end