Swiftpack.co - Package - shopgun/verso-ios
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


Version Carthage Compatible License Platform

A multi-paged image viewer for iOS.

Verso makes it easy to layout a horizontally scrolling book-like view, with multiple pages visible and zoomable at any one time.


  • iOS 9.3+
  • Swift 5.0+



Verso is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Verso"

Then, run the following command:

$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Verso into your Xcode project using Carthage, specify it in your Cartfile:

github "ShopGun/Verso"

Run carthage update to build the framework and drag the built Verso.framework into your Xcode project.



An important concept within Verso is that of a Spread.

You use spreads to collect and layout multiple pages together. You can think of a Spread as the pages you see when you open a book. It can contain 1 or more pages - for example if you opened a book to the middle a spread would contain a left and right page, while if you were looking at the first page there would only be one page in the spread.

In Verso, the datasource provides a spread configuration. This defines the properties (the page indexes, and other details) for all the spreads within the Verso. Basically, both page count and layout information is encoded in the class that is returned by the datasource.


Laurie Hufford (lh@shopgun.com)


Verso is available under the MIT license. See the LICENSE file for more info.


Stars: 6