Gallery

  • A PSPDFGalleryConfiguration defines the behavior of a PSPDFGalleryViewController.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryConfiguration
        : PSPDFBaseConfiguration <PSPDFGalleryConfigurationBuilder *>

    Swift

    class GalleryConfiguration : BaseConfiguration<GalleryConfigurationBuilder>
  • Used to group the error, loading and gallery view and to properly lay them out.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryContainerView : UIView <PSPDFOverridable>

    Swift

    class GalleryContainerView : UIView, Overridable
  • The caption view used in PSPDFGalleryContentCaptionView.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryContentCaptionView
        : UIView <PSPDFGalleryContentViewCaption>

    Swift

    class GalleryContentCaptionView : UIView, GalleryContentViewCaption
  • The (reusable) content view of a PSPDFGalleryView.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryContentView : UIView

    Swift

    class GalleryContentView : UIView
  • Undocumented

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryImageContentView : PSPDFGalleryContentView

    Swift

    class GalleryImageContentView : GalleryContentView
  • An image item in a gallery.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryImageItem : PSPDFGalleryItem

    Swift

    class GalleryImageItem : GalleryItem
  • The abstract class for an item in a gallery. Most items will have content that needs to be loaded, hence this class allows for asynchronous state changes. It is the responsibility of the subclass to implement loading, for example by implementing the PSPDFRemoteContentObject protocol.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryItem : NSObject

    Swift

    class GalleryItem : NSObject
  • PSPDFGalleryManifest models the manifest file that is the data source of every gallery. It abstracts the task of loading an array of PSPDFGalleryItems from potentially multiple sources.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryManifest : NSObject

    Swift

    class GalleryManifest : NSObject
  • An item of unknown type in a gallery.

    Declaration

    Objective-C

    
    @interface PSPDFGalleryUnknownItem : PSPDFGalleryItem

    Swift

    class GalleryUnknownItem : GalleryItem
  • PSPDFGalleryVideoContentView displays a video item.

    Declaration

    Objective-C

    
    @interface PSPDFGalleryVideoContentView : PSPDFGalleryContentView

    Swift

    class GalleryVideoContentView : GalleryContentView
  • A video item in a gallery. This class uses the class cluster design pattern.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryVideoItem : PSPDFGalleryItem

    Swift

    class GalleryVideoItem : GalleryItem
  • A gallery view works a lot like a UITableView. It has content views, which need to be provided by a data source and can be reused. It is built on top of a UIScrollView.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryView : UIScrollView <PSPDFOverridable>

    Swift

    class GalleryView : UIScrollView, Overridable
  • Handles a gallery of one or multiple images, videos, audio or even web content.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryViewController
        : PSPDFBaseViewController <PSPDFOverridable, PSPDFMultimediaViewController>

    Swift

    class GalleryViewController : PDFBaseViewController, Overridable, MultimediaViewController
  • PSPDFGalleryWebContentView displays a web item.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryWebContentView : PSPDFGalleryContentView

    Swift

    class GalleryWebContentView : GalleryContentView
  • A web item in a gallery.

    Declaration

    Objective-C

    
    @interface PSPDFGalleryWebItem : PSPDFGalleryItem

    Swift

    class GalleryWebItem : GalleryItem
  • Protocol to uniquely identify an object.

    See more

    Declaration

    Objective-C

    @protocol PSPDFIdentifiable <NSObject>

    Swift

    protocol Identifiable : NSObjectProtocol
  • A simple media player used for video playback.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFMediaPlayerController : NSObject

    Swift

    class MediaPlayerController : NSObject
  • Acts as the container view for an image gallery.

    Note

    To get a basic image view without the gallery tap handling, simply set userInteractionEnabled = NO on this view.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFMultimediaAnnotationView
        : PSPDFLinkAnnotationBaseView <PSPDFOverridable>

    Swift

    class MultimediaAnnotationView : LinkAnnotationBaseView, Overridable
  • A protocol that defines the interface that multimedia view controller plugins must conform to.

    Warning

    The class that implements this protocol must be a UIViewController subclass!
    See more

    Declaration

    Objective-C

    @protocol PSPDFMultimediaViewController <NSObject>

    Swift

    protocol MultimediaViewController : NSObjectProtocol
  • Methods to present/dismiss view controllers. UIViewController doesn’t expose enough to conveniently present/dismiss controllers, so this protocol extends it.

    See more

    Declaration

    Objective-C

    @protocol PSPDFPresentationActions <NSObject>

    Swift

    protocol PresentationActions : NSObjectProtocol