JCInfiniteGalleryView 0.0.1

JCInfiniteGalleryView 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Jay Chae

JCInstaInfiniteGalleryView

Carousel-like inifinite view inspired by Apple developer session:

Requirements

  • Xcode 4.5 or higher
  • Apple LLVM compiler
  • iOS 6.0 or higher
  • ARC

Usage

  1. Subclass JCInstaInfiniteGalleryView

    @interface MyOwnGalleryView : JCInstaGalleryView

  2. 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)];
}