Skip to content

Commit efc11ed

Browse files
committed
LICENSE
1 parent 768de10 commit efc11ed

30 files changed

Lines changed: 1636 additions & 19 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ playground.xcworkspace
4545
# you should judge for yourself, the pros and cons are mentioned at:
4646
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
4747
#
48-
# Pods/
48+
Pods/
4949

5050
# Carthage
5151
#

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@
44

55
version: 0.8.2
66

7+
# usage
8+
9+
```ruby
10+
pod 'ijkplayer'
11+
```
12+
13+
OC 参考ijkplayer项目,Swift 参考ijkplayer-Swift项目。
14+
15+
## OC
16+
17+
```ruby
18+
platform :ios, '7.0'
19+
```
20+
21+
## Swift
22+
23+
```ruby
24+
platform :ios, '8.0'
25+
use_frameworks!
26+
```
27+
28+
1. 添加 <Project>-Bridge-Header.h。 -> "#import <IJKMediaFramework/IJKMediaFramework.h>"
29+
1. Build Settings -> Ojbective-C Bridging Header -> "<Project>-Swift/<Project>-Swift-Bridge-Header.h"
30+
731
# LICENSE
832

933
ijkplayer is licensed under [LGPLv2.1 or later](LICENSE), so itself is free for commercial use under LGPLv2.1 or later

ijkplayer-Swift/Podfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Uncomment the next line to define a global platform for your project
2+
platform :ios, '8.0'
3+
4+
target 'ijkplayer-Swift' do
5+
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for ijkplayer-Swift
9+
pod 'ijkplayer'
10+
11+
end

ijkplayer-Swift/Podfile.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PODS:
2+
- ijkplayer (0.8.2)
3+
4+
DEPENDENCIES:
5+
- ijkplayer
6+
7+
SPEC CHECKSUMS:
8+
ijkplayer: 3b2b0c447c821b261dbe4aa8ce2041939ae11232
9+
10+
PODFILE CHECKSUM: 2fc12dfafa16d9caed61985d9cebc4d4b87b20ed
11+
12+
COCOAPODS: 1.3.1

0 commit comments

Comments
 (0)