mirror of
https://github.com/zhigang1992/IOS7ScrollViews.git
synced 2026-06-10 07:00:07 +08:00
22 lines
666 B
Objective-C
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 |