Changelog History
Page 1
-
v6.0.0 Changes
October 17, 2019- β¬οΈ Upgrade to Swift 5 and fix subsequent compiler warnings
-
v5.1.0
November 14, 2018 -
v5.0.0 Changes
October 02, 2017π± Yay!!!! π³
-
v4.1.0 Changes
May 01, 2017- Autoplay video (PR #120).
- π Allow color of video controls to be set (PR #116).
- π Support for custom "See all" close buttons (PR #109).
- π Ability to remove an item (PR #101).
- Replaces
GalleryConfigurationItem.swipeToDismissHorizontally
with.swipeToDismissMode
with options.never
,.vertical
,.horizontal
, and.always
. (PR #99). - π Makes
ItemBaseController
open
(PR #91). - π Fixes builtin close button (PR #90, Issue #84).
- β Adds
GalleryItem.custom
to support subclasses ofUIImageView
(PR #80, Issue #56). - β Adds activity indicator (PR #86, Issue #69).
- π Fixes background overlay on top of modal view controller (PR #85, PR #87).
- π Fixes
launchedCompletion
block execution (PR #82). - π Renames
GetViewControllerCompletion
toItemViewControllerBlock
. - π Makes
ItemBaseController
public
. - β Adds
reload(atIndex:)
to force reload image in gallery (PR #77, Issue #72). - π Fixes image appearing after async loading (PR #76, Issue #59).
- β Adds option to turn off decoration views toggle by single tap.
- β Adds option to toggle swipe to dismiss horizontally.
- π Other bugfixes and improvements
-
v4.0 Changes
October 14, 2016π As it says on the tin. Swift 3 support is here \o/
-
v3.1 Changes
October 31, 2016- π Swift 2.3 support.
Not published to CocoaPods yet, use tag directly:
pod 'ImageViewer', :git => '[email protected]:MailOnline/ImageViewer.git', :tag => '3.1'
-
v3.0 Changes
September 21, 2016ImageViewer 3.0 is our biggest release yet both in terms of codebase and feature evolution. We tackled the inevitable step - video playback. Video content is deliberately treated exactly the same way as images incl. pinch to zoom, doubleTap or swipe-to-dismiss.
We have completely redesigned the way content is displacedβ’ :) from the parent canvas to ImageViewer. Images and videos now seamlessly morph from aspectFill and other aspect-ratio-breaking modes to aspectFit FullScreen. A new built-in Thumbnails screen allows you to handle large sets of images and videos.
π§ The number of configuration options has almost tripled. You can tweak every aspect of the complex displacement animation composition including speed & timing. Images with transparency are now equally supported. Main background layer allows for semitransparent color and blur.
- π
Video support
: Show videos in the gallery. Both locally stored file and streaming is supported via video URL. Thumbnails screen
: Modal screen to select any image or video immediately.Composited background
: Background is now composed from two layers - the blur and the color layer. Blur intensity, color and the level of transparency for both layers is handled separately.Block-based image fetching
: Now it's completely up to you to handle fetching the way you want... just pass a block that does it.Rotation mode
: Option to rotate now can be set to be app based or always.Spring bouncing
: Displacement can optionally include a spring bounce effect same as in the iOS Photos app.- π
Panorama support
: Very wide panorama images will still be scaled to aspectFill after double tap to zoom, even if the resize would result in a scale that exceeds maximumZoomScale.
Config options
Displacement animation
: Multiple options to customize the duration and positioning of the displacement animation.Background
: Customize the background colour, blur and transparency.Gesture timing
: You can now set the duration in seconds for double tap to zoom gesture, decoration views hide/show animation, rotation.Custom buttons
: Thumbnails and Close buttons can now be customised.Maximum zoom scale
: Set the maximum zoom scale for any image or video.
- π
-
v2.1 Changes
August 11, 2016π± Thumbnails grid view πΌ
π± Transparency for the displaced view π
π Improved handling of wide/tall images πΌ
π± Ability to customise background colour π¨ -
v2.0.6 Changes
June 09, 2016π Built in views are now better managed so that KVO Observing is handled properly.
-
v2.0.5 Changes
April 28, 2016A close() method is now publicly available, in case there is a (rare?) need for closing programatically. A corresponding completion block is also available, and it is separate from standard (interactive) close completion block.
A nifty little improvement was made in the completion phase, there is now virtually no delay between the time T when animations visually stop and the time T+n when the gallery actually disappears from view hierarchy and the underlying controller canvas is available for touches.