Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaterfall committed Dec 16, 2013
1 parent 2b74efa commit 754291d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ self.photos = [NSMutableArray array];
[photos addObject:[MWPhoto photoWithURL:[NSURL URLWithString:@"http://farm4.static.flickr.com/3629/3339128908_7aecabc34b.jpg"]]];
[photos addObject:[MWPhoto photoWithURL:[NSURL URLWithString:@"http://farm4.static.flickr.com/3590/3329114220_5fbc5bc92b.jpg"]]];

// Create & present browser
// Create browser
MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self];

// Set options
Expand All @@ -60,8 +60,8 @@ browser.wantsFullScreenLayout = YES; // iOS 5 & 6 only: Decide if you want the p
[self.navigationController pushViewController:browser animated:YES];

// Manipulate
[browser showPreviousPhotoAnimated:YES];
[browser showNextPhotoAnimated:YES];
[browser showPreviousPhotoAnimated:YES];
[browser setCurrentPhotoIndex:10];
```
Expand Down

0 comments on commit 754291d

Please sign in to comment.