CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Mar 2015 |
Maintained by Andrea Giavatto.
A photo browser for iOS6 and iOS7 inspired by Facebook iOS app.
Demo project included.
It currently supports:
The suggested way to install the component is using CocoaPods, just include the following line in your Podfile to get the latest version:
pod "AGPhotoBrowser"
There is a demo project included that shows how to use the photo browser.
AGPhotoBrowserView.h
in your classAGPhotoBrowserView
and set the delegate and the dataSource to your class- (NSInteger)numberOfPhotosForPhotoBrowser:(AGPhotoBrowserView *)photoBrowser
and - (UIImage *)photoBrowser:(AGPhotoBrowserView *)photoBrowser imageAtIndex:(NSInteger)index
methods from the datasource- (NSString *)photoBrowser:(AGPhotoBrowserView *)photoBrowser titleForImageAtIndex:(NSInteger)index
and - (NSString *)photoBrowser:(AGPhotoBrowserView *)photoBrowser descriptionForImageAtIndex:(NSInteger)index
- (void)show
or - (void)showFromIndex:(NSInteger)initialIndex
methods- (void)hideWithCompletion:( void (^) (BOOL finished) )completionBlock
Info can be found on my website, and on Twitter.