Gallery

  • Used to group the error, loading and gallery view and to properly lay them out.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFGalleryContainerView : UIView

    Swift

    class PSPDFGalleryContainerView : NSView
  • 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 PSPDFGalleryItem : 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 PSPDFGalleryManifest : NSObject
  • 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

    Swift

    class PSPDFGalleryView : NSScrollView
  • Protocol to uniquely identify an object.

    See more

    Declaration

    Objective-C

    @protocol PSPDFIdentifiable <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    
    @interface PSPDFMediaPlayerController : NSObject

    Swift

    class PSPDFMediaPlayerController : NSObject
  • 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 PSPDFMultimediaViewController : 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 PSPDFPresentationActions : NSObjectProtocol