Common
-
The
See moreCameraViewController
class provides a dialog to perform serveral tasks regarding the camera. These include taking photos, switching on the flash, and such.Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKCameraViewController) open class CameraViewController : UIViewController
extension CameraViewController: UIImagePickerControllerDelegate, UINavigationControllerDelegate
extension CameraViewController: UIGestureRecognizerDelegate
-
An Configuration defines behaviour and look of all view controllers provided by the PhotoEditorSDK. It uses the builder pattern to create an immutable object via a closure. To configure the different editors and viewControllers contained in the SDK, edit their options in the corresponding
See moreconfigure*ViewController
method of theConfigurationBuilder
.Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKConfiguration) open class Configuration : NSObject
-
See moreIMGLY
provides methods to unlock and customize the SDK.Declaration
Swift
@available(iOS 9.0, *) @objcMembers open class IMGLY : NSObject
-
A
See morePhotoEditModel
holds information about any modification that should be applied to an image.Declaration
Swift
@available(iOS 9.0, *) public struct PhotoEditModel : Equatable
extension PhotoEditModel: ObjectiveCBridgeable
-
A
See morePhotoEditRenderer
takes aCIImage
and aPhotoEditModel
as input and takes care of applying all necessary effects and filters to the image. The output image can then be rendered into anEAGLContext
or converted into aCGImage
instance.Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKPhotoEditRenderer) open class PhotoEditRenderer : NSObject
extension PhotoEditRenderer: PhotoEditModelSettable
-
A
See morePhotoEditToolController
is the base class for any tool controller. Tool controllers can be presented in aPhotoEditViewController
and are displayed above aPhotoEditPreviewController
.Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKPhotoEditToolController) open class PhotoEditToolController : ViewController
extension PhotoEditToolController: EventSubscribable
extension PhotoEditToolController: ToolbarItemProviding
extension PhotoEditToolController: PhotoPreviewControlling
extension PhotoEditToolController: VideoPreviewControlling
-
VESDK
provides methods to unlock and customize the SDK.Declaration
Swift
@available(iOS 9.0, *) @objcMembers public final class VESDK : IMGLY
-
An object that wraps audiovisual media.
The
See moreVideo
class currently supportsURL
andAVAsset
as sources for videos. Passing anURL
requires the destination to be in a format that can be decoded by iOS.Declaration
Swift
@objcMembers @objc(PESDKVideo) open class Video : NSObject
-
A
See moreVideoEditViewController
is the main starting point for the SDK. It displays the rendered video and a menu. It can presentPhotoEditToolController
objects and react to changes. It can be presented on its own (thus displaying a toolbar for navigation at the bottom) or be embedded into aUINavigationController
(thus using the navigation controller’s navigation bar for navigation).Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKVideoEditViewController) open class VideoEditViewController : MediaEditViewController, BrandedView
-
The
See moreVideoEditViewControllerDelegate
protocol defines methods that allow you to respond to the events of an instance ofVideoEditViewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKVideoEditViewControllerDelegate) public protocol VideoEditViewControllerDelegate : MediaEditViewControllerDelegate