PPImageScrollingCellView.h 796 B

12345678910111213141516171819202122232425262728
  1. //
  2. // PPImageScrollingCellView.h
  3. // PPImageScrollingTableViewDemo
  4. //
  5. // Created by popochess on 13/8/9.
  6. // Copyright (c) 2013年 popochess. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class PPImageScrollingCellView;
  10. @protocol PPImageScrollingViewDelegate <NSObject>
  11. - (void)collectionView:(PPImageScrollingCellView *)collectionView didSelectImageItemAtIndexPath:(NSIndexPath*)indexPath;
  12. @end
  13. @interface PPImageScrollingCellView : UIView
  14. @property (weak, nonatomic) id<PPImageScrollingViewDelegate> delegate;
  15. - (void) setImageTitleLabelWitdh:(CGFloat)width withHeight:(CGFloat)height;
  16. - (void) setImageTitleTextColor:(UIColor*)textColor withBackgroundColor:(UIColor*)bgColor;
  17. - (void) setImageData:(NSArray*)collectionImageData;
  18. - (void) setBackgroundColor:(UIColor*)color;
  19. @end