An EMContentItemAdaptor maintains UICollectionViewDelegate/Datasource information which is returned to the EMAdaptorManager when queried for information about the content item.

Interface
- (id)initWithContentItem:(EMContentItem *)pContentItem controller:(EMAssemblerViewController *)pController;
- (void)layoutContentsForKey:(NSString *)pKey;
- (void)layoutContents;
- (NSInteger)numberOfItemsInContentItem;
- (Class)rendererClassForIndex:(NSInteger)pIndex;
- (id)objectToBeRenderedAtIndex:(NSInteger)pIndex;
- (CGSize)sizeForRendererAtIndex:(NSInteger)pIndex;
- (void)usingRenderer:(EMContentItemRenderer *)pRenderer forIndex:(NSInteger)pIndex;
- (Class)headerRendererClass;
- (id)objectToBeRenderedForHeader;
- (CGSize)referenceSizeForHeader;
- (Class)footerRendererClass;
- (id)objectToBeRenderedForFooter;
- (CGSize)referenceSizeForFooter;
- (void)usingRenderer:(EMContentItemCollectionReusableView *)pRenderer forSupplementaryElementOfKind:(NSString *)pKind;
- (CGFloat)minimumLineSpacing;
- (CGFloat)minimumInteritemSpacing;
- (UIEdgeInsets)edgeInsets;
- (BOOL)shouldHighlightItemAtIndex:(NSInteger)pIndex;
- (void)didHighlightItemAtIndex:(NSInteger)pIndex;
- (void)didUnhighlightItemAtIndex:(NSInteger)pIndex;
- (BOOL)shouldSelectItemAtIndex:(NSInteger)pIndex;
- (void)didSelectItemAtIndex:(NSInteger)pIndex;

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices