Skip to content

Commit 1ad8a82

Browse files
committed
Build For Cocoapod
1 parent 2f1d96a commit 1ad8a82

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

JDAVKit/JDVideoKit/Xib/IconDrawer.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class IconDraw: UIView {
5656
//// Group 2
5757
//// Group 3
5858
//// Bezier 2 Drawing
59-
var bezier2Path = UIBezierPath()
59+
let bezier2Path = UIBezierPath()
6060
bezier2Path.move(to: CGPointMake(29.85, 16.12))
6161
bezier2Path.addCurve(to: CGPointMake(29.05, 15.67), controlPoint1: CGPointMake(29.71, 15.84), controlPoint2: CGPointMake(29.39, 15.67))
6262
bezier2Path.addLine(to: CGPointMake(18.6, 15.67))
@@ -208,7 +208,7 @@ public class IconDraw: UIView {
208208
//// Group 2
209209
//// Group 3
210210
//// Bezier 2 Drawing
211-
var bezierPath = UIBezierPath()
211+
let bezierPath = UIBezierPath()
212212
bezierPath.move(to: CGPointMake(22.59, 49.63))
213213
bezierPath.addLine(to: CGPointMake(29, 42.59))
214214
bezierPath.addLine(to: CGPointMake(12.82, 24.82))
@@ -225,7 +225,7 @@ public class IconDraw: UIView {
225225
func drawCanvas2()->CGPath
226226
{
227227
//// Bezier 2 Drawing
228-
var bezier2Path = UIBezierPath()
228+
let bezier2Path = UIBezierPath()
229229
bezier2Path.move(to: CGPointMake(43.59, 0))
230230
bezier2Path.addLine(to: CGPointMake(21, 24.82))
231231
bezier2Path.addLine(to: CGPointMake(43.59, 49.63))
@@ -267,7 +267,7 @@ public class IconDraw: UIView {
267267

268268
func drawCanvas1()->CGPath
269269
{
270-
var bezierPath = UIBezierPath()
270+
let bezierPath = UIBezierPath()
271271
bezierPath.move(to: CGPointMake(36.33, 0))
272272
bezierPath.addCurve(to: CGPointMake(22.66, 24.83), controlPoint1: CGPointMake(28.79, 0), controlPoint2: CGPointMake(22.66, 11.14))
273273
bezierPath.addCurve(to: CGPointMake(13.67, 41.15), controlPoint1: CGPointMake(22.66, 33.83), controlPoint2: CGPointMake(18.63, 41.15))
@@ -331,7 +331,7 @@ public class IconDraw: UIView {
331331

332332
func drawCanvas1()->CGPath
333333
{
334-
var bezierPath = UIBezierPath()
334+
let bezierPath = UIBezierPath()
335335
bezierPath.move(to: CGPointMake(25, 0))
336336
bezierPath.addCurve(to: CGPointMake(0, 25), controlPoint1: CGPointMake(11.19, 0), controlPoint2: CGPointMake(0, 11.19))
337337
bezierPath.addCurve(to: CGPointMake(25, 50), controlPoint1: CGPointMake(0, 38.81), controlPoint2: CGPointMake(11.19, 50))
@@ -352,7 +352,7 @@ public class IconDraw: UIView {
352352

353353
func drawCanvas2()->CGPath
354354
{
355-
var bezier2Path = UIBezierPath()
355+
let bezier2Path = UIBezierPath()
356356
bezier2Path.move(to: CGPointMake(25.33, 7))
357357
bezier2Path.addCurve(to: CGPointMake(17.72, 8.68), controlPoint1: CGPointMake(22.61, 7), controlPoint2: CGPointMake(20.04, 7.61))
358358
bezier2Path.addCurve(to: CGPointMake(17.6, 8.73), controlPoint1: CGPointMake(17.68, 8.7), controlPoint2: CGPointMake(17.64, 8.71))

JDVideoKit.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'JDVideoKit'
3-
s.version = '1.0.0'
3+
s.version = '1.5.0'
44
s.summary = 'You can easily transfer your video into Three common video type.'
55

66
s.description = <<-DESC
@@ -14,6 +14,6 @@ You can use set up camera easily.
1414
s.source = { :git => 'https://github.com/jamesdouble/JDVideoKit.git', :tag => s.version.to_s }
1515

1616
s.ios.deployment_target = '8.0'
17-
s.source_files = 'JDAVKit/JDVideoKit/*'
17+
s.source_files = 'JDAVKit/JDVideoKit/*','JDAVKit/JDVideoKit/Xib/*'
1818

1919
end

0 commit comments

Comments
 (0)