Skip to content

sunnyyoung/SYPhotoBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

26687a4 · May 2, 2017

History

23 Commits
Feb 8, 2017
Feb 8, 2017
May 11, 2016
Feb 8, 2017
May 20, 2016
Mar 31, 2016
Mar 31, 2016
Dec 1, 2016
Feb 8, 2017
May 2, 2017
Feb 8, 2017

Repository files navigation

SYPhotoBrowser

A cute and lightweight photo browser like Tweetbot3.

Screen Shot

Requirments

  1. iOS 7.0 and above.

Dependency

Installation

To use SYPhotoBrowser

  1. Edit your Podfile, add one line code pod 'SYPhotoBrowser'
  2. Run 'pod update'
  3. #import <SYPhotoBrowser/SYPhotoBrowser.h>

Quickstart

SYPhotoBrowser *photoBrowser = [[SYPhotoBrowser alloc] initWithImageSourceArray:self.urlArray caption:@"This is caption label" delegate:self];
photoBrowser.initialPageIndex = indexPath.row;
photoBrowser.pageControlStyle = SYPhotoBrowserPageControlStyleLabel;
[self presentViewController:photoBrowser animated:YES completion:nil];

License

The MIT License.