[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
This commit is contained in:
Adlai Holler
2016-08-16 10:19:58 -07:00
committed by GitHub
parent 2091df9607
commit 56ee00986f
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/**
* 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