Skip to content

Latest commit

 

History

History
150 lines (98 loc) · 9.29 KB

CHANGELOG.md

File metadata and controls

150 lines (98 loc) · 9.29 KB

Changes for users of the library currently on 5.0.8:

  • using metadata to add summary to share activity

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

Changes for users of the library in 5.0.6:

  • support Swift Package Manager (thanks @mattpolzin!)
  • fixed a NaN when setting zoomScale in NYTScalingImageView when ANIMATED_GIF_SUPPORT=1

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
  • Broke the ability to pull down via Carthage or build this repo in Xcode!
  • Update PINRemoteImage to 3.0.1 for Xcode 12

Changes for users of the library in 5.0.3:

  • Be more explicit with the PINRemoteImage dependency

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.

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.

Changes for users of the library in 5.0.0:

  • Changed NYTPhotosViewControllerDelegate protocol 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.

Changes for users of the library in 4.0.1:

  • 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.

Changes for users of the library in 4.0.0:

  • Update deployment target to 9.0 from 8.0
  • Remove property UIPopoverController *activityPopoverController from NYTPhotosViewController
  • Replace use of FLAnimatedImage with PINRemoteImage (https://github.com/pinterest/PINRemoteImage) because FLAnimatedImage is no longer maintained and contains deprecated code.

Changes for users of the library in 3.0.1:

  • Fixed issue with beginAppearanceTransition being called on VCs with no parent VC

Changes for users of the library in 3.0.0:

  • Unit test improvements
  • Interstitial view support + Swift sample
  • NSObject conformance for example app

Changes for users of the library in 2.0.0:

  • Expose a data-source-oriented API for PhotosViewController (#226)
    • A data source no longer has to handle out-of-bounds indexes (#227)
    • The data source is not retained (#227)
  • Respect safe areas for iOS 11 support

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)

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.image vs .imageData properties; add a warning if you’re doing something wrong (#153)
  • Add delegate to the designated initializer (#155)
  • Fix overlay view animating out and back when a view controller presented atop NYTPhotosViewController is dismissed (#156)

Changes for users of the library in 1.0.1:

  • Fixes for incorrect logic determining whether to send delegate messages about PhotosViewController dismissal (#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)

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 UITextView for 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_bundles and fix resource image loading (#80, #113, #123)
  • Use iOS 8 UIActivityViewController.completionWithItemsHandler API (#82)
  • Nullability and lightweight generics annotations on important public API (#83, #98)
  • Fix circular reference of NYTPhotosViewController (#79)
  • Set barButtonItem on popover UIActivityViewControllers (#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 rightBarButtonItems and leftBarButtonItems on NYTPhotosViewController (#49)

Initial open-source release.