Skip to content

Commit

Permalink
Merge pull request #304 from ems305/fix/parameter-warning
Browse files Browse the repository at this point in the history
Modify comment parameters
  • Loading branch information
ZevEisenberg authored Mar 30, 2020
2 parents 9757ae6 + 37d7634 commit 99f7173
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 @@ -5,6 +5,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.
- Fix unbalanced calls to begin/end appearance transitions.
- 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 99f7173

Please sign in to comment.