Skip to content

Commit

Permalink
Modified comment parameter in 'NYTPhotosViewController' and 'NYTPhoto…
Browse files Browse the repository at this point in the history
…ViewerSinglePhotoDataSource' to match parameter in signature. Removes compilation warning.
  • Loading branch information
ems305 committed Mar 28, 2020
1 parent 1228edb commit 45fc248
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changes for users of the library currently on `develop`:

- Removed `FLAnimatedImage` from .gitmodules.
- Change `NYTPhotosViewController` to use fullscreen presentation by default, so it causes the presenting view to disappear behind it, i.e. to get `-viewWillDisappear:` and `-viewDidDisappear` called on it.
- Modified comment parameter in `NYTPhotosViewController` and `NYTPhotoViewerSinglePhotoDataSource` to match parameter in signature. Removes compilation warning.

## [4.0.0](https://github.com/nytimes/NYTPhotoViewer/releases/tag/4.0.0)

Expand Down
2 changes: 1 addition & 1 deletion NYTPhotoViewer/NYTPhotoViewerSinglePhotoDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The designated initializer that takes and stores a single photo.
*
* @param photos An object conforming to the `NYTPhoto` protocol.
* @param photo An object conforming to the `NYTPhoto` protocol.
*
* @return A fully initialized data source.
*/
Expand Down
2 changes: 1 addition & 1 deletion NYTPhotoViewer/NYTPhotosViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ extern NSString * const NYTPhotosViewControllerDidDismissNotification;
*
* This method has no effect if the given index is out of bounds in the data source.
*
* @param photo The index of the photo which changed in the data source.
* @param photoIndex The index of the photo which changed in the data source.
*/
- (void)updatePhotoAtIndex:(NSInteger)photoIndex;

Expand Down

0 comments on commit 45fc248

Please sign in to comment.