-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button for adding new file or folder? #8
Comments
Hey @cyanisaac, this is something I would eventually like to add. The question is how to do it in a way that is generalised and customisable enough? Still haven't figured it out... |
I'm fairly new to iOS, so this might be a terrible idea, but what I would imagine would be good is just to have it so that when you call the File Browser, you can pass in a view controller. If possible, this could be any view controller, meaning the developer of the app could customize it as much as they want. Then, it would present the view controller from the file browser using self.presentViewController(passedInViewController) (note this could be anything from an UIViewController to an UIAlertViewController) Then, the presenting view controller would have properties like the directory from which the "add item" button was pressed, so it could react accordingly. Just my thoughts. EDIT: Although if you wanted to keep it consistent, you could always make it show an action sheet with "Add Folder" and then list other options that the app passes in. |
Hi, Marmeloy ** How can we go to OneUp Higher level directory? Thanks |
Hello.
Is there a way to add a new file or folder? Even better, is there a way to tether a custom action to a button in the FileBrowser's top bar?
Thanks!
The text was updated successfully, but these errors were encountered: