Skip to content

Commit

Permalink
version 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangqian committed May 20, 2020
1 parent 019bae6 commit a12335a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions UnZipAndRar.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |s|


s.name = "UnZipAndRar"
s.version = "1.1.3"
s.version = "1.1.4"
s.summary = "解压缩的库xxxxxxxxxxxxxxxxx"
s.description = <<-DESC
解压缩支持.zip .rar格式xxxxxxxxxxxxxxxxxxxxxxxxxxx
Expand All @@ -20,12 +20,11 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }


s.dependency 'Zip'
#s.dependency 'FileKit'
s.dependency 'Zip'
s.dependency 'UnrarKit'
#s.dependency 'SHTManager'
#s.dependency 'SHPathManager'

s.dependency 'XYZTimeKit'
s.dependency 'XYZPathKit'

s.ios.deployment_target = '13.0'
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
Expand All @@ -34,7 +33,7 @@ Pod::Spec.new do |s|

s.authors = { "Brandy" => "[email protected]" }
s.platform = :ios, "13.0"
s.source = { :git => "https://github.com/brandy2015/UnZipAndRar.git", :tag => "1.1.3"}
s.source = { :git => "https://github.com/brandy2015/UnZipAndRar.git", :tag => "1.1.4"}
s.source_files = "UnZipAndRar/Source/*"


Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions UnZipAndRar/Source/XYZUnzip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public var XYZZIP = XYZZipObjcet()

public class XYZZipObjcet: NSObject {

var 解压次数 = 0 //用于修改弹出密码框的主题 是否显示重新输入
var 解压次数 = 0 //用于修改弹出密码框的主题 是否显示重新输入f
public static var shared = XYZZipObjcet()
public func UnzipOrRAR(filePathX:Path,VC:UIViewController,progressX: @escaping ((_ progress: Double) -> ())) -> Path {

Expand Down Expand Up @@ -57,6 +57,7 @@ public class XYZZipObjcet: NSObject {
//如果是zip 那么返回true,如果是RAR,返回false
public func isZiporRAR(From:Path) -> Bool? {
switch From.pathExtension.uppercased() {

case "ZIP":return true
case "RAR":return false
default :return nil
Expand Down Expand Up @@ -88,7 +89,6 @@ public class XYZZipObjcet: NSObject {
// })



解压次数 = 0 //置空
}catch{
try? To.deleteFile()
Expand Down

0 comments on commit a12335a

Please sign in to comment.