TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Carousel-like inifinite view inspired by Apple developer session:
Subclass JCInstaInfiniteGalleryView
@interface MyOwnGalleryView : JCInstaGalleryView
Implement the two abstract methods
-addSubviewToContentView:WithContent: is initially called to embed your views during initialization.
//implemented by subclasses
- (void)addSubviewToContentView:(JCContentView *)contentView WithContent:(id)contentObject {
}
-resetContentView:WithContent: is called everytime the galleryview scrolls and needs to reset its content.
- (void)resetContentView:(JCContentView *)contentView WithContent:(id)contentObject {
[NSException raise:NSInternalInconsistencyException
format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)];
}