marmelroy/FileBrowser
marmelroy/FileBrowser has 1,535 GitHub stars and 222 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 04:19 UTC. Last push 2021-11-25.
Finder-style iOS file browser written in Swift
What you can do
- :iphone: - Browse and select files and folders with a familiar UI on iOS.
- :mag: - Pull down to search.
- :eyeglasses: - Preview most file types. Including plist and json.
- :pencil: - Edit/delete files.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
FileBrowser
iOS Finder-style file browser in Swift 4.0 with search, file previews and 3D touch. Simple and quick to use.

Features
| :sparkles: | Features |
|---|---|
| :iphone: | Browse and select files and folders with a familiar UI on iOS. |
| :mag: | Pull down to search. |
| :eyeglasses: | Preview most file types. Including plist and json. |
| :pencil: | Edit/delete files. |
| :point_up_2: | 3D touch support for faster previews with Peek & Pop. |
| :white_flower: | Fully customizable. |
Usage
Import FileBrowser at the top of the Swift file.
import FileBrowser
To show the file browser, all you need to do is:
let fileBrowser = FileBrowser()
present(fileBrowser, animated: true, completion: nil)
By default, the file browser will open in your app's documents directory. When users select a file, a preview will be displayed - offering an action sheet of options based on the file type.
Advanced Usage
You can open FileBrowser in a different root folder by initialising with an NSURL file path of your choice.
let fileBrowser = FileBrowser(initialPath: customPath)
You can also allow editing/deleting files.
let fileBrowser = FileBrowser(initialPath: customPath, allowEditing: true)
Use the didSelectFile closure to change FileBrowser's behaviour when a file is selected.
fileBrowser.didSelectFile = { (file: FBFile) -> Void in
print(file.displayName)
}
To exclude a certain file type or a specific file path:
fileBrowser.excludesFileExtensions = ["zip"]
fileBrowser.excludesFilepaths = [secretFile]
Setting up with CocoaPods
source 'https://github.com/CocoaPods/Specs.git'
pod 'FileBrowser', '~> 1.0'
Setting up with Carthage
Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate FileBrowser into your Xcode project using Carthage, specify it in your Cartfile:
github "marmelroy/FileBrowser"
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,909 starspublic-apis/public-apis
A collective list of free APIs
497,153 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
442,238 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,174 stars