mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
* Reimplement IGListKit support in a cleaner way * Rename and fix some stuff * Fix supplementaries more * Update docs * Update test * Cleanup minor things * Tweak it * Indentation * Remove irrelevant changes * Break out cell into its own file * Fix indentation * Address feedback
25 lines
701 B
Objective-C
25 lines
701 B
Objective-C
//
|
|
// ASListTestSupplementarySource.m
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Adlai Holler on 12/25/16.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import "ASListTestSupplementarySource.h"
|
|
#import "ASListTestSupplementaryNode.h"
|
|
|
|
@implementation ASListTestSupplementarySource
|
|
|
|
ASIGSupplementarySourceViewForSupplementaryElementImplementation(self.sectionController)
|
|
ASIGSupplementarySourceSizeForSupplementaryElementImplementation
|
|
|
|
- (ASCellNode *)nodeForSupplementaryElementOfKind:(NSString *)elementKind atIndex:(NSInteger)index
|
|
{
|
|
ASListTestSupplementaryNode *node = [[ASListTestSupplementaryNode alloc] init];
|
|
node.style.preferredSize = CGSizeMake(100, 10);
|
|
return node;
|
|
}
|
|
|
|
@end
|