Skip to content

pav22222/iOSFileBrowser

Repository files navigation

iOSFileBrowser

Version Platform License

This is a simple file browser for iOS. It allows you to go through standard places in the iOS file system. It does not contain anything superfluous, but easily scales for any specific purposes.

Screenshot1.png

Screenshot2.png

Screenshot3.png

Installation

CocoaPods:

Add the next string in your project's Podfile:

pod 'iOSFileBrowser'

then run in Terminal:

pod install

and add iOSFileBrowser.framework in your project settings in section "Linked Frameworks and Libraries"

Manually:

Add files iOSFileBrowser.h and iOSFileBrowser.m from "iOSFileBrowser/Classes" directory and icons *.png from "iOSFileBrowser/Assets" directory to your project.

Usage

Objective C:

#import iOSFileBrowser.h

//Use certain enum for desirable location:
NSUInteger location = NSDocumentDirectory;

iOSFileBrowser* docFiles = [[iOSFileBrowser alloc] initWithLocation:location];
UINavigationController* nav = [[UINavigationController alloc]initWithRootViewController:docFiles];
[self presentViewController:nav animated:NO completion:nil];

License

MIT