CHANGELOG.md
October 31, 2022 · View on GitHub
5.0.8
Changes for users of the library currently on 5.0.8:
- using metadata to add summary to share activity
5.0.7
Changes for users of the library currently on 5.0.7:
- fixed caption overlay placement
- fixed overlay view buttons tint color
- added summary to share
5.0.6
Changes for users of the library in 5.0.6:
- support Swift Package Manager (thanks @mattpolzin!)
- fixed a NaN when setting
zoomScaleinNYTScalingImageViewwhenANIMATED_GIF_SUPPORT=1
5.0.5
Changes for users of the library in 5.0.5:
- Update PINRemoteImage to 3.0.1 for Xcode 12
- Restored the ability to pull down via Carthage
5.0.4 (broken)
- Broke the ability to pull down via Carthage or build this repo in Xcode!
- Update PINRemoteImage to 3.0.1 for Xcode 12
5.0.3
Changes for users of the library in 5.0.3:
- Be more explicit with the PINRemoteImage dependency
5.0.2
Changes for users of the library in 5.0.2:
- Restore a method that was accidentally removed in 5.0.0. This prevented a long-tap gesture from displaying the 'Copy' menu.
- Remove obsolete check for iOS 8.3.
5.0.1
Changes for users of the library in 5.0.1:
- bugfix: we weren't treating a nil interstitial correctly, so they weren't being skipped as intended.
5.0.0
Changes for users of the library in 5.0.0:
- Changed
NYTPhotosViewControllerDelegateprotocol so that- photosViewController:interstitialViewAtIndex:can return nil. If it does, that index is skipped and the following (or preceding) photo or interstitial view is displayed.
4.0.1
Changes for users of the library in 4.0.1:
- Removed
FLAnimatedImagefrom .gitmodules. - Change
NYTPhotosViewControllerto use fullscreen presentation by default, so it causes the presenting view to disappear behind it, i.e. to get-viewWillDisappear:and-viewDidDisappearcalled on it. - Fix unbalanced calls to begin/end appearance transitions.
- Modified comment parameter in
NYTPhotosViewControllerandNYTPhotoViewerSinglePhotoDataSourceto match parameter in signature. Removes compilation warning.
4.0.0
Changes for users of the library in 4.0.0:
- Update deployment target to 9.0 from 8.0
- Remove property
UIPopoverController *activityPopoverControllerfromNYTPhotosViewController - Replace use of
FLAnimatedImagewithPINRemoteImage(https://github.com/pinterest/PINRemoteImage) becauseFLAnimatedImageis no longer maintained and contains deprecated code.
3.0.1
Changes for users of the library in 3.0.1:
- Fixed issue with beginAppearanceTransition being called on VCs with no parent VC
3.0.0
Changes for users of the library in 3.0.0:
- Unit test improvements
- Interstitial view support + Swift sample
- NSObject conformance for example app
2.0.0
Changes for users of the library in 2.0.0:
- Expose a data-source-oriented API for PhotosViewController (#226)
- Respect safe areas for iOS 11 support
1.2.0
Changes for users of the library in 1.2.0:
- Add Carthage support (#164, #167), (#171)
- Fix gradient flickering of caption view on iOS 9 (#166)
- Readd loading view when photo source is set back to nil (#187)
- Include all files in the bundle, not just PNGs, in Cocoapods resource bundle (#170)
1.1.0
Changes for users of the library in 1.1.0:
- Add a delegate method to allow customizing navigation bar title text (#142, #151, #154)
- Add documentation clarifying
NYTPhoto.imagevs.imageDataproperties; add a warning if you’re doing something wrong (#153) - Add
delegateto the designated initializer (#155) - Fix overlay view animating out and back when a view controller presented atop
NYTPhotosViewControlleris dismissed (#156)
1.0.1
Changes for users of the library in 1.0.1:
- Fixes for incorrect logic determining whether to send delegate messages about
PhotosViewControllerdismissal (#130, #137) - Avoid testing floats for equality in PhotoViewController (#135)
- Fix orientation issue with reference view of type UIImageView (#116, #145)
- Avoid applying a hacky iOS status bar bugfix on iOS 8.3+ (it appears to have been fixed then) (#131)
- Removed redundant Swift unit tests (#128)
1.0.0
Changes for users of the library in 1.0.0:
- The library now supports iOS 8.0 and newer. (#82, #84, #107)
- Support programmatic view controller dismissal via
dismissViewControllerAnimated:completion:(#121, #122) - Use scrolling
UITextViewfor captions (#88) - Fix a bug when presenting NYTPhotoViewer from a subview of
UIStackView(#104) - Update overlay information after
displayPhoto:call (#100) - Implements animated GIF support (#71, #94, #106, #111)
- Fix misplacing view position while zoom transition (#89)
- Adopt CocoaPods
resource_bundlesand fix resource image loading (#80, #113, #123) - Use iOS 8
UIActivityViewController.completionWithItemsHandlerAPI (#82) - Nullability and lightweight generics annotations on important public API (#83, #98)
- Fix circular reference of
NYTPhotosViewController(#79) - Set
barButtonItemon popoverUIActivityViewControllers (#65) - Accept Xcode 7 build settings and fix Xcode 7 warnings (#76)
- Ensure our nav bar will always be translucent with no tint color (#57)
- Fix crash on tapping Share button on iPad (#52)
- Allow customizing maximum photo zoom scale(#51)
- Rename
…didDisplayPhoto…delegate method to…didNavigateToPhoto…(#47) - Adds support for setting
rightBarButtonItemsandleftBarButtonItemsonNYTPhotosViewController(#49)
0.1.2
Initial open-source release.