mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-11 15:10:37 +00:00
* [section-infos-api] Add ASSectionInfo.h * Create Processes.md * Update ASSectionInfo.h * Update ASSectionInfo.h * Add more changes/info * More stuff * More updates * Make it a protocol * Update things * Oops * Update Misc.m * Update Overview.md * Update ASCollectionSection.h * Update ASCollectionSection.h
22 lines
661 B
Objective-C
22 lines
661 B
Objective-C
/**
|
|
* An example of what a section info class might look like.
|
|
*/
|
|
@interface ASExampleLayoutSectionInfo : NSObject <ASSectionUserInfo>
|
|
|
|
@property (nonatomic, weak, nullable) ASCollectionView *collectionView;
|
|
@property (nullable, copy) NSString *sectionName;
|
|
|
|
@property CGSize cellSpacing;
|
|
@property NSInteger numberOfColumns;
|
|
@property CGFloat columnWidth;
|
|
@property CGSize headerSize;
|
|
@property CGSize footerSize;
|
|
@property UIEdgeInsets headerInsets;
|
|
@property UIEdgeInsets footerInsets;
|
|
@property ASExampleLayoutBackgroundType backgroundType;
|
|
@property ASExampleLayoutRowAlignmentType rowAlignmentType;
|
|
@end
|
|
|
|
@implementation ASExampleLayoutSectionInfo
|
|
|
|
@end |