Skip to content

Commit

Permalink
Merge pull request #84 from Kivenhaoyu/dev-3.0.0
Browse files Browse the repository at this point in the history
dev-3.0.0
  • Loading branch information
lawder authored Oct 12, 2019
2 parents f93b75a + 5b60a13 commit dd93901
Show file tree
Hide file tree
Showing 107 changed files with 4,409 additions and 3,097 deletions.
4 changes: 4 additions & 0 deletions APIDiffs/api-diffs-3.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# PLShortVideoKit 2.2.0 to 3.0.0 API Differences

## General Headers

448 changes: 223 additions & 225 deletions Example/PLShortVideoKitDemo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1030"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Binary file added Example/PLShortVideoKitDemo/20190829051844316.mp3
Binary file not shown.
10 changes: 10 additions & 0 deletions Example/PLShortVideoKitDemo/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//

#import "AppDelegate.h"
#import "ViewController.h"

#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>
#import "PLShortVideoKit/PLShortVideoKit.h"
Expand All @@ -30,6 +32,14 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

[[AVAudioSession sharedInstance] setCategory:(AVAudioSessionCategoryPlayback) error:nil];

ViewController *viewController = [[ViewController alloc] init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:viewController];
navController.modalPresentationStyle = UIModalPresentationFullScreen;

self.window.rootViewController = navController;
self.window.backgroundColor = [UIColor whiteColor];

[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
return YES;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,9 @@
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "appicon.png",
"scale" : "1x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Example/PLShortVideoKitDemo/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "close_back@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "close_back@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "close_back@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "flash_close@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "flash_close@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "flash_close@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "flash_open@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "flash_open@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "flash_open@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "get_back@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "get_back@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "get_back@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "next@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "next@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "next@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "screen_shoots@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "screen_shoots@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "screen_shoots@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions Example/PLShortVideoKitDemo/DubViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
#import "PLSProgressBar.h"
#import "PLShortVideoKit/PLShortVideoKit.h"

#define PLS_RGBCOLOR(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]
#define PLS_SCREEN_WIDTH CGRectGetWidth([UIScreen mainScreen].bounds)
#define PLS_SCREEN_HEIGHT CGRectGetHeight([UIScreen mainScreen].bounds)


@interface DubViewController ()
<
Expand Down
8 changes: 3 additions & 5 deletions Example/PLShortVideoKitDemo/EditViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@

@interface EditViewController : UIViewController

@property (strong, nonatomic) NSDictionary *settings;

@property (strong, nonatomic) NSArray *filesURLArray;

@property (strong, nonatomic) AVPlayerItem *playerItem;
@property (nonatomic, strong) NSDictionary *settings;
@property (nonatomic, strong) NSArray *filesURLArray;
@property (nonatomic, strong) AVPlayerItem *playerItem;

@end
Loading

0 comments on commit dd93901

Please sign in to comment.