PhotoEditor SDK v10.0.0 Release Notes
Release Date: 2019-08-12 // almost 5 years ago-
The
PhotoEditorSDK.framework
was split into two frameworks,ImglyKit.framework
andPhotoEditorSDK.framework
:ImglyKit.framework
contains most of the logic that is required for rendering, displaying and editing media.PhotoEditorSDK.framework
contains classes that are specific to photo editing.
A new
VideoEditorSDK.framework
was introduced, that uses the sameImglyKit.framework
asPhotoEditorSDK.framework
does. This new framework contains classes that are specific to video editing. For more details please take a look at www.videoeditorsdk.com.โ Added
- [ImglyKit] Added a
MediaEditViewController
class that is the superclass forPhotoEditViewController
andVideoEditViewController
. - [ImglyKit] Added a
MediaEditPreviewController
class that is the superclass forPhotoEditPreviewController
andVideoEditPreviewController
. - [VideoEditorSDK] Added a
Video
class for passing videos to the editor. - [VideoEditorSDK] Added a
VideoEditViewController
class for video editing. - [VideoEditorSDK] Added a
VideoEditPreviewController
class for previewing videos. - [VideoEditorSDK] Added a
TrimToolController
class for trimming videos.
๐ Changed
- [ImglyKit]
PhotoEditPreviewControllerDelegate
was renamed toMediaEditPreviewControllerDelegate
together with all method names of the protocol. - [ImglyKit] The camera does not automatically present the editor any longer when neither
dataCompletionBlock
norcompletionBlock
was specified. You should always setCameraViewController.dataCompletionBlock
,CameraViewController.completionBlock
andCameraViewController.cancelBlock
. - โช [ImglyKit] Video recordings that were created with the camera no longer include the applied filter. To restore the old behavior set
CameraViewControllerOptions.writeVideoWithFilterApplied
totrue
. - [ImglyKit]
Bundle.pesdkBundle
was renamed toBundle.imglyBundle
. - [ImglyKit]
MainFlowController.photoEditViewController
was renamed toMainFlowController.mediaEditViewController
. - โก๏ธ [PhotoEditorSDK] The
PhotoEditViewController
initializer doesn't have amenuItems
parameter any longer. To update the menu items, please usePhotoEditViewControllerOptions.menuItems
. - [PhotoEditorSDK] The
PhotoEditViewController
is a subclass ofMediaEditViewController
now. - [PhotoEditorSDK] The
PhotoEditPreviewController
is a subclass ofMediaEditPreviewController
now. - [PhotoEditorSDK] The
PhotoEditViewControllerDelegate
protocol now inherits from theMediaEditViewControllerDelegate
, which brings the following changes:photoEditViewController(_ photoEditViewController: PhotoEditViewController, willPresentToolController toolController: PhotoEditToolController)
is nowmediaEditViewController(_ mediaEditViewController: MediaEditViewController, willPresentToolController toolController: PhotoEditToolController)
,photoEditViewController(_ photoEditViewController: PhotoEditViewController, didPresentToolController toolController: PhotoEditToolController)
is nowmediaEditViewController(_ mediaEditViewController: MediaEditViewController, didPresentToolController toolController: PhotoEditToolController)
,photoEditViewController(_ photoEditViewController: PhotoEditViewController, willDismissToolController toolController: PhotoEditToolController)
is nowmediaEditViewController(_ mediaEditViewController: MediaEditViewController, willDismissToolController toolController: PhotoEditToolController)
,photoEditViewController(_ photoEditViewController: PhotoEditViewController, didDismissToolController toolController: PhotoEditToolController)
is nowmediaEditViewController(_ mediaEditViewController: MediaEditViewController, didDismissToolController toolController: PhotoEditToolController)
.
- ๐ง [PhotoEditorSDK]
PhotoEditViewControllerOptions.configurePhotoEditorViewController(_:)
was renamed toPhotoEditViewControllerOptions.configurePhotoEditViewController(_:)
.
โ Removed
- ๐ [PhotoEditorSDK] Removed all deprecated classes and methods.