Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHu committed May 28, 2024
1 parent 05bfc79 commit 9d97a71
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 61 deletions.
6 changes: 3 additions & 3 deletions DDKitSwift-Netfox.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ s.swift_version = '5.0'
s.version = '3.0.0'
s.license= { :type => "MIT", :file => "LICENSE" }
s.summary = 'a quick look on all executed network requests performed by netfox'
s.homepage = 'https://github.com/DamonHu/netfox-zxkit'
s.homepage = 'https://github.com/DamonHu/DDKitSwift-Netfox'
s.authors = { 'ZXKitCode' => 'dong765@qq.com' }
s.source = { :git => "https://github.com/DamonHu/netfox-zxkit.git", :tag => s.version}
s.source = { :git => "https://github.com/DamonHu/DDKitSwift-Netfox.git", :tag => s.version}
s.requires_arc = true
s.ios.deployment_target = '11.0'
s.resource_bundles = {
'NetFoxZXKit' => ['pod/assets/**/*']
}
s.source_files = "pod/zxkit/*.swift"
s.source_files = "pod/*.swift"
s.dependency 'netfox', '1.21.0'
s.dependency 'DDKitSwift/core', '~> 3.0.0'
s.documentation_url = 'https://blog.hudongdong.com/ios/1169.html'
Expand Down
52 changes: 6 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,15 @@
# netfox-zxkit
# DDKitSwift-Netfox

![](https://img.shields.io/badge/CocoaPods-supported-brightgreen) ![](https://img.shields.io/badge/Swift-5.0-brightgreen) ![](https://img.shields.io/badge/License-MIT-brightgreen) ![](https://img.shields.io/badge/version-iOS11.0-brightgreen)

If you need to quickly integrate multiple debugging functions, such as log viewing, network speed testing, file viewing and so on, please use [DamonHu/ZXKitSwift](https://github.com/DamonHu/ZXKitSwift).
## Introduction

如果您需要的是快速集成多个调试功能,例如日志查看、网速测试、文件查看等功能,请使用 [DamonHu/ZXKitSwift](https://github.com/DamonHu/ZXKitSwift)
The plugin for viewing network request logs in [DDKitSwift](https://github.com/DamonHu/DDKitSwift). relies on [NetFox](https://github.com/kasketis/netfox).

## intro
## Preview

a quick look on all executed network requests performed by [NetFox](https://github.com/kasketis/netfox).The library has been integrated into [ZXKitSwift](https://github.com/DamonHu/ZXKitSwift) to record network requests, if you have already integrated `ZXKitSwift`, there is no need to repeat the integration.


一个查看app中所有网络请求的库,依赖[NetFox](https://github.com/kasketis/netfox)功能,该插件已经默认集成在[ZXKitSwift](https://github.com/DamonHu/ZXKitSwift)中,如果您已经集成了`ZXKitSwift`,无需重复集成该插件

## preview

![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif)

## install

### cocoapods

```
pod 'netfox-zxkit'
```

```
import netfox_zxkit
//注册 regist
ZXKit.regist(plugin: NetFoxZXKit())
```

Display the list of tools

```
ZXKit.show()
```

hide the list of tools

```
ZXKit.hide()
```

close ZXKit

```
ZXKit.close()
```
![NetFox Overview](https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif)

## License

该项目基于MIT协议,您可以自由修改使用
This project is licensed under the MIT License, allowing you to freely modify and use it.
16 changes: 4 additions & 12 deletions example/DDKitSwift-Netfox.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
E4ADD4D526A29C38000BD07F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E4ADD4D326A29C38000BD07F /* Main.storyboard */; };
E4ADD4D726A29C3B000BD07F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E4ADD4D626A29C3B000BD07F /* Assets.xcassets */; };
E4ADD4DA26A29C3B000BD07F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E4ADD4D826A29C3B000BD07F /* LaunchScreen.storyboard */; };
E4ADD4E426A29E75000BD07F /* NetFox+DDkitSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4ADD4E326A29E75000BD07F /* NetFox+DDkitSwift.swift */; };
E4ADD4E426A29E75000BD07F /* NetFox+DDKitSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4ADD4E326A29E75000BD07F /* NetFox+DDKitSwift.swift */; };
E4ADD4E726A2A077000BD07F /* netfox_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = E4ADD4E626A2A077000BD07F /* netfox_logo.png */; };
E4ADD4EC26A2A1CA000BD07F /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = E4ADD4E926A2A1C9000BD07F /* Localizable.strings */; };
/* End PBXBuildFile section */
Expand All @@ -32,7 +32,7 @@
E4ADD4D626A29C3B000BD07F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
E4ADD4D926A29C3B000BD07F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
E4ADD4DB26A29C3B000BD07F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E4ADD4E326A29E75000BD07F /* NetFox+DDkitSwift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NetFox+DDkitSwift.swift"; sourceTree = "<group>"; };
E4ADD4E326A29E75000BD07F /* NetFox+DDKitSwift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NetFox+DDKitSwift.swift"; sourceTree = "<group>"; };
E4ADD4E626A2A077000BD07F /* netfox_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = netfox_logo.png; sourceTree = "<group>"; };
E4ADD4EA26A2A1C9000BD07F /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
E4ADD4EB26A2A1CA000BD07F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -106,21 +106,13 @@
E4ADD4E126A29E3F000BD07F /* pod */ = {
isa = PBXGroup;
children = (
E4ADD4E326A29E75000BD07F /* NetFox+DDKitSwift.swift */,
E4ADD4E526A29E81000BD07F /* assets */,
E4ADD4E226A29E5A000BD07F /* zxkit */,
);
name = pod;
path = ../../pod;
sourceTree = "<group>";
};
E4ADD4E226A29E5A000BD07F /* zxkit */ = {
isa = PBXGroup;
children = (
E4ADD4E326A29E75000BD07F /* NetFox+DDkitSwift.swift */,
);
path = zxkit;
sourceTree = "<group>";
};
E4ADD4E526A29E81000BD07F /* assets */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -257,7 +249,7 @@
files = (
E4ADD4D226A29C38000BD07F /* ViewController.swift in Sources */,
E4ADD4CE26A29C38000BD07F /* AppDelegate.swift in Sources */,
E4ADD4E426A29E75000BD07F /* NetFox+DDkitSwift.swift in Sources */,
E4ADD4E426A29E75000BD07F /* NetFox+DDKitSwift.swift in Sources */,
E4ADD4D026A29C38000BD07F /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Binary file not shown.
File renamed without changes.

0 comments on commit 9d97a71

Please sign in to comment.