Files
IOS7ScrollViews/iOS7ScrollViews/SVScrollingCell.h
2013-06-20 20:51:01 +02:00

22 lines
666 B
Objective-C

//
// SVScrollingCell.h
// iOS7ScrollViews
//
// Created by Pierre Felgines on 20/06/13.
// Copyright (c) 2013 Pierre Felgines. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol SVScrollingCellDelegate;
@interface SVScrollingCell : UICollectionViewCell <UIScrollViewDelegate>
@property (nonatomic, assign) id<SVScrollingCellDelegate> delegate;
@property (nonatomic, retain) UIColor * color;
@end
@protocol SVScrollingCellDelegate <NSObject>
- (void)scrollingCellDidBeginPulling:(SVScrollingCell *)cell;
- (void)scrollingCell:(SVScrollingCell *)cell didChangePullOffset:(CGFloat)offset;
- (void)scrollingCellDidEndPulling:(SVScrollingCell *)cell;
@end