Giter VIP home page Giter VIP logo

damonhu / zxfilebrowser Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 4.0 7.63 MB

The iOS sandbox file browser, which has view, copy, move, delete files and other operations. iOS端沙盒文件浏览器,可以查看、拷贝、移动、删除等操作

Home Page: https://ddceo.com/blog/zxkit/

License: MIT License

Ruby 3.25% Swift 96.58% HTML 0.12% JavaScript 0.05%
ios debug cocoapods swift filebrowser sandbox zxkit-tool zxkit-plugin

zxfilebrowser's Introduction

ZXFileBrowser

English

如果您需要的是快速集成多个调试功能,例如日志查看、网速测试、文件查看等功能,请使用 DamonHu/ZXKitSwift

该插件已经默认集成在ZXKitSwift中,如果您已经集成了ZXKitSwift,无需重复集成该插件

iOS端沙盒文件浏览器,可查看、复制、移动、删除文件等操作,使用苹果的Quick Look框架实现预览,长按显示更多操作

集成

cocoapods快速集成

pod 'ZXFileBrowser'

使用

ZXFileBrowser.shared.start()

你可以调用下面这个函数获取指定路径的文件类型

ZXFileBrowser.shared.getFileType(filePath: path)

指定预览的根目录

默认根目录是app的根目录,如果有特殊需求,比如只让用户查看某个目录,则可以设置根目录即可

ZXFileBrowser.shared.rootDirectoryPath = ZXKitUtil.shared.getFileDirectory(type: .caches)

预览

文件列表 文件类型

功能示例

License

该项目基于MIT协议,您可以自由修改使用

zxfilebrowser's People

Contributors

damonhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zxfilebrowser's Issues

建议支持懒惰加载

作者你好,我用了您的框架,因为我的沙箱里面文件很多,所以一调用您的框架,页面就会卡死。

Domain: IDEDebugSessionErrorDomain
Code: 11
Failure Reason: Message from debugger: Terminated due to memory issue
User Info: {
DVTErrorCreationDateKey = "2023-11-28 06:46:20 +0000";
IDERunOperationFailingWorker = DBGLLDBLauncher;
}

建议支持,文件目录的延迟性加载。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.