NYTPhotoViewer alternatives and similar libraries
Based on the "Image" category.
Alternatively, view NYTPhotoViewer alternatives based on common mentions on social networks and blogs.
-
GPUImage2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
TOCropViewController
A view controller for iOS that allows users to crop portions of UIImage objects -
IDMPhotoBrowser
Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more -
AspectFillFaceAware
DISCONTINUED. An extension that gives UIImageView the ability to focus on faces within an image. -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
GPUImage3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
RSKImageCropper
An image cropper / photo cropper for iOS like in the Contacts app with support for landscape orientation. -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
Twitter Image Pipline
Twitter Image Pipeline is a robust and performant image loading and caching framework for iOS clients -
ImagePickerSheetController
ImagePickerSheetController replicates the custom photo action sheet in iMessage. -
YUCIHighPassSkinSmoothing
An implementation of High Pass Skin Smoothing using Apple's Core Image Framework -
CTPanoramaView
A library that displays spherical or cylindrical panoramas with touch or motion based controls. -
AXPhotoViewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos. -
OnlyPictures
A simple and flexible way to add source of overlapping circular pictures, currently supports horizontal overlapping or distant pictures with great layout flexibility. -
ComplimentaryGradientView
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js -
Harbeth
🎨 GPU accelerated image / video and camera filter library based on Metal. Support macOS & iOS. 图像、视频、相机滤镜框架
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NYTPhotoViewer or a related project?
README
NYTPhotoViewer
NYTPhotoViewer is a slideshow and image viewer that includes double-tap to zoom, captions, support for multiple images, interactive flick to dismiss, animated zooming presentation, and more.
[Demo GIF](Documentation/photo_viewer.gif)
Usage
Usage is simple, with the option for more complicated customization when needed through a delegate relationship. In the most basic implementation, just initialize the view controller with an array of photo objects and present it as normal:
NYTPhotosViewController *photosViewController = [[NYTPhotosViewController alloc] initWithPhotos:photos];
[self presentViewController:photosViewController animated:YES completion:nil];
Running the Example
Clone this locally, then in your local workspace of the NYTPhotoViewer
repo, run ./scripts/bootstrap
, then open Examples/NYTPhotoViewer.xcworkspace. You'll see targets for a Swift and Objective-C app.
Installation
Swift Package Manager
NYTPhotoViewer may be installed via SPM, by pointing at this repo's URL.
Cocoapods
NYTPhotoViewer is available through CocoaPods. To install it, simply add the following line to your Podfile
:
pod 'NYTPhotoViewer'
Carthage
NYTPhotoViewer may be installed via Carthage. To install it, simply add the following line to your Cartfile
:
github "NYTimes/NYTPhotoViewer"
Then, following the instructions for integrating Carthage frameworks into your app, link the NYTPhotoViewer
and PINRemoteImage
frameworks into your project.
If you don't want support for animated GIFs, you may instead link against only the NYTPhotoViewerCore
framework.
Requirements
This library requires a deployment target of iOS 9.0 or greater.
Changelog
See CHANGELOG.md
.
Contributing
Please open pull requests against the develop
branch, and add a relevant note to the develop
section of the CHANGELOG as part of your pull request.
Swift
NYTPhotoViewer is written in Objective-C but is fully interoperable with Swift. If you experience any interoperability difficulties, please open an issue or pull request and we will work to resolve it.
Inspiration
NYTPhotoViewer draws feature inspiration from Facebook and Tweetbot’s image viewers. If this implementation isn’t to your liking, you may consider JTSImageViewController or IDMPhotoBrowser.
Implementation
NYTPhotoViewer has a straightforward implementation using standard UIKit components. The viewer is a UIViewController
and uses UIViewController
transitioning APIs for the animated and interactive transitions, a UIPageViewController
for horizontal swiping between images, and UIScrollView
for image zooming.
It is intended to be used without the need for subclassing, and as such it accepts model objects conforming to a NYTPhoto
protocol and provides ample opportunity for customization via the NYTPhotosViewControllerDelegate
. Since standard APIs are used, the client has full control over the transitions and customization of the NYTPhotosViewController
.
License
NYTPhotoViewer is available under the Apache 2.0 license. See LICENSE.md
for more information.
Contributors
*Note that all licence references and agreements mentioned in the NYTPhotoViewer README section above
are relevant to that project's source code only.