Skip to content

Commit ce8302e

Browse files
committed
fix icon
1 parent d99836f commit ce8302e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

DDKitSwift_Netfox.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'DDKitSwift_Netfox'
33
s.swift_version = '5.0'
4-
s.version = '3.0.3'
4+
s.version = '3.0.4'
55
s.license= { :type => "MIT", :file => "LICENSE" }
66
s.summary = 'a quick look on all executed network requests performed by netfox'
77
s.homepage = 'https://github.com/DamonHu/DDKitSwift_Netfox'
@@ -10,10 +10,10 @@ s.source = { :git => "https://github.com/DamonHu/DDKitSwift_Netfox.git", :tag =>
1010
s.requires_arc = true
1111
s.ios.deployment_target = '12.0'
1212
s.resource_bundles = {
13-
'NetFoxZXKit' => ['pod/assets/**/*']
13+
'DDKitSwift_Netfox' => ['pod/assets/**/*']
1414
}
1515
s.source_files = "pod/*.swift"
1616
s.dependency 'netfox', '1.21.0'
17-
s.dependency 'DDKitSwift/core', '~> 3.0.0'
17+
s.dependency 'DDKitSwift/core', '~> 3'
1818
s.documentation_url = 'https://github.com/DamonHu/DDKitSwift_Netfox'
1919
end

example/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ target 'DDKitSwift_Netfox' do
77

88
# Pods for DDKitSwift_Netfox
99
pod 'netfox', '~> 1.21.0'
10-
pod 'DDKitSwift/core', '~> 3.0.0'
10+
pod 'DDKitSwift/core', '~> 3'
1111
end

pod/DDKitSwift_Netfox.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import netfox
1111

1212
func UIImageHDBoundle(named: String?) -> UIImage? {
1313
guard let name = named else { return nil }
14-
guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_NetFox", ofType: "bundle") else { return UIImage(named: name) }
14+
guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_Netfox", ofType: "bundle") else { return UIImage(named: name) }
1515
guard let bundle = Bundle(path: bundlePath) else { return UIImage(named: name) }
1616
return UIImage(named: name, in: bundle, compatibleWith: nil)
1717
}
1818

1919
extension String{
2020
var ZXLocaleString: String {
21-
guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_NetFox", ofType: "bundle") else { return NSLocalizedString(self, comment: "") }
21+
guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_Netfox", ofType: "bundle") else { return NSLocalizedString(self, comment: "") }
2222
guard let bundle = Bundle(path: bundlePath) else { return NSLocalizedString(self, comment: "") }
2323
let msg = NSLocalizedString(self, tableName: nil, bundle: bundle, value: "", comment: "")
2424
return msg

0 commit comments

Comments
 (0)