12345678910111213141516171819202122232425 |
- //
- // ASColObserver.h
- // AIPlayRingtones
- //
- // Created by mini on 2025/5/28.
- //
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^TSContentSizeChangeBlock)(CGSize newSize);
- typedef void(^TSContentInsetChangeBlock)(UIEdgeInsets newInset);
- typedef void(^TSContentOffsetChangeBlock)(CGPoint newOffset);
- @interface ASColObserver : NSObject
- @property (nonatomic, copy) TSContentSizeChangeBlock onContentSizeChange;
- @property (nonatomic, copy) TSContentInsetChangeBlock onContentInsetChange;
- @property (nonatomic, copy) TSContentOffsetChangeBlock onContentOffsetChange;
- - (instancetype)initWithCollectionView:(UICollectionView *)collectionView;
- @end
- NS_ASSUME_NONNULL_END
|