diff --git a/README.md b/README.md index e80bd50..da3a7d8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ ### Installation with CocoaPods ```ruby -pod 'VideoEditor', '1.0' +pod 'VideoEditor', '1.1' ``` ### Build Project diff --git a/VideoEditor.podspec b/VideoEditor.podspec index c7a6828..b1300bb 100644 --- a/VideoEditor.podspec +++ b/VideoEditor.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'VideoEditor' - s.version = '1.0' + s.version = '1.1' s.summary = 'VideoEditor facilitates manipulate Audios volume, merge multiple audios to video' s.description = <<-DESC VideoEditor written on Swift 5.0 by levantAJ diff --git a/VideoEditor/VideoEditor.swift b/VideoEditor/VideoEditor.swift index f9b4cb5..bc6b805 100644 --- a/VideoEditor/VideoEditor.swift +++ b/VideoEditor/VideoEditor.swift @@ -189,8 +189,10 @@ public extension VideoEditor { public enum VideoEditorError: Int, Error { case notFoundAudioInVideo = 10000 +} - var localizedDescription: String { +extension VideoEditorError: LocalizedError { + public var errorDescription: String? { switch self { case .notFoundAudioInVideo: return NSLocalizedString("Cannot found audio in video!", comment: "") diff --git a/VideoEditor/VideoExporter.swift b/VideoEditor/VideoExporter.swift deleted file mode 100644 index 8a9bc98..0000000 --- a/VideoEditor/VideoExporter.swift +++ /dev/null @@ -1,10 +0,0 @@ -// -// VideoExporter.swift -// VideoEditor -// -// Created by Tai Le on 10/17/20. -// - -open class VideoExporter { - static let shared = VideoExporter() -}