Swiftgram/plans/section-infos-api/ASExampleLayoutSectionInfo.m
Adlai Holler 56ee00986f [Architecture] Add plans for new Section Info Objects (#2067)
* [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
2016-08-16 10:19:58 -07:00

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