From 8dc3cd482c4db144b09e9f8827f68d84b4232a24 Mon Sep 17 00:00:00 2001 From: Datt1994 Date: Mon, 6 May 2019 10:38:37 +0530 Subject: [PATCH] add pod --- README.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35184d9..36f261e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,40 @@ -## DPVideoMerger-Swift +# DPVideoMerger-Swift **For Objective C** :- [DPVideoMerger](https://github.com/Datt1994/DPVideoMerger) -**Step 1**:- Copy & paste `DPVideoMerger.swift` file into your project +## Installation with CocoaPods + +[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C. You can install it with the following command: + +```bash +$ gem install cocoapods +``` +#### Podfile + +To integrate DPVideoMerger into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' + +target 'TargetName' do +pod 'DPVideoMerger-Swift' +end +``` + +Then, run the following command: + +```bash +$ pod install +``` + + +## Add Manually + + Download Project and copy-paste `DPVideoMerger.swift` file into your project + +## Usage -**Step 2**:- Usage ```swift import AVKit