Gallery
-
A
See morePSPDFGalleryConfiguration
defines the behavior of aPSPDFGalleryViewController
.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 moreDeclaration
Objective-C
@interface PSPDFGalleryContainerView : UIView <PSPDFOverridable>
Swift
class GalleryContainerView : UIView, Overridable
-
The caption view used in
See morePSPDFGalleryContentCaptionView
.Declaration
Objective-C
@interface PSPDFGalleryContentCaptionView : UIView <PSPDFGalleryContentViewCaption>
Swift
class GalleryContentCaptionView : UIView, GalleryContentViewCaption
-
The (reusable) content view of a
See morePSPDFGalleryView
.Declaration
Objective-C
@interface PSPDFGalleryContentView : UIView
Swift
class GalleryContentView : UIView
-
Undocumented
See moreDeclaration
Objective-C
@interface PSPDFGalleryImageContentView : PSPDFGalleryContentView
Swift
class GalleryImageContentView : GalleryContentView
-
An image item in a gallery.
See moreDeclaration
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
See morePSPDFRemoteContentObject
protocol.Declaration
Objective-C
@interface PSPDFGalleryItem : NSObject
Swift
class GalleryItem : NSObject
-
See morePSPDFGalleryManifest
models the manifest file that is the data source of every gallery. It abstracts the task of loading an array ofPSPDFGalleryItem
s from potentially multiple sources.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 moreDeclaration
Objective-C
@interface PSPDFGalleryVideoItem : PSPDFGalleryItem
Swift
class GalleryVideoItem : GalleryItem
-
A gallery view works a lot like a
See moreUITableView
. It has content views, which need to be provided by a data source and can be reused. It is built on top of aUIScrollView
.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 moreDeclaration
Objective-C
@interface PSPDFGalleryViewController : PSPDFBaseViewController <PSPDFOverridable, PSPDFMultimediaViewController>
Swift
class GalleryViewController : PDFBaseViewController, Overridable, MultimediaViewController
-
See morePSPDFGalleryWebContentView
displays a web item.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
-
A simple media player used for video playback.
See moreDeclaration
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 setuserInteractionEnabled = NO
on this view.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 aUIViewController
subclass!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 moreDeclaration
Objective-C
@protocol PSPDFPresentationActions <NSObject>
Swift
protocol PresentationActions : NSObjectProtocol