Giter VIP home page Giter VIP logo

dropboxbrowser's People

Contributors

andrew-j-porter avatar bryant1410 avatar danielbierwirth avatar sam-spencer avatar trunalb 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

dropboxbrowser's Issues

Error loading app info in the example

Hi, I try to look into this code so downloaded, opened, and executed the example file.
It opened successfully, so I tapped button to authorise this app from dropbox app.
But in the Dropbox app, it shows an alert, titled as "Error loading app info".
Is this a known issue?
I'm using iOS 8.1.3, and up-to-date Dropbox app.

Best,

Keunwoo

Ooooooops, perhaps because I didn't even set the dropbox API keys.
You can either remove or keep this posting, perhaps for those who make the same mistake.
Sorry for the mess!

A possible Enhancement

HI,
Thanks for this nice tool.
I would like to propose an enhancement.
Can you add the ability to UPLOAD Files in dropbox ?

Thank you very much

George Gerardis

Losing file extension

In ODBoxHandler.m, in downloadDropboxFile: the filepath will lose the file extension, i.e. that the file downloaded will have no extension at all.

I would suggest to change line 9 to

NSString *fileName = file.lastPathComponent;

which will fix that.

Dropbox SDK v3.2?

Can this project be used with v3.2 of the Dropbox SDK? The podspec wants an older version.

would be nice to have a sample project

I tried to test it but I keep having the same error :

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array' 

What to you have in your storyboard anyway ?

Progress during file download is always 0

In ODBoxHandler.m, - (void)downloadDropboxFile:::, the calculation of the current download progress is wrong. You always divide a (smaller) int by a (larger) int, which will always result in a zero progress value.

The int64_t type vars should be casted to CGFloat, making progress a CGFloat:

    CGFloat progress = (CGFloat)totalBytesDownloaded / (CGFloat)totalBytesExpectedToDownload;
    NSNumber *downloadProgress = [NSNumber numberWithFloat:progress];

Please add a open-source license.

Hi,

I assume you mean to share this code with the world? I would like to use it, but currently can’t, because there is no license in place that allows me to do so. (I personally always use the MIT license, YMMV.)

Logout issue...

Hello,
Thanks for your fantastic tool...it's really fantastic.
I have to propose an possible .
If I have more than one account in dropbox.....and I already login in one of my accounts, How can I logout from that account and login in one of my others?
I mean that I want to have a "Logout option" within my app....
Again, Thank you very much.

George N. gerardis

Feature Request: Make updateContent public, or a configuration switch to update content on successful link

Maybe I'm doing it wrong (always possible) but the UITableView in DropboxBrowser never actually updates its contents when the user successfully links to Dropbox. The link succeeds (I see the notification come in from the Dropbox SDK) but the tableview remains unpopulated. The way I get around this for now is subscribing to the Dropbox SDK's dropboxLinkedSuccessfully and making (void)updateContent a public method callable by my code. Really though, shouldn't this be an option for DropboxBrowser to handle?

Better example

Hi,

is it possible to have an example how to use the following method -->

  • (void)downloadDropboxFile:(NSString *)file completion:(void (^)(NSURL *filePath, NSError *error))finishBlock updateProgress:(void (^)(NSNumber *progress))progressChanged;

Thanks in advance

George

Cocoapods

Hi,
Do you plan a release with cocoapods?

How to logout once logged in?

I'm using this library and its working fine in happy scenarios but now I want to log out from dropbox account. How to do that?

NavigationBar & Search bar issue

Hi daniel Recently i added you library in my project. but from last two days Navigation bar is missing. so i can't dismiss browser
img_1182

Push new ViewController rather than reloading table

Instead of reloading the table view data when a folder is selected, it would be optimal to push a new UIViewController onto the Navigation Stack.

The current implementation simply reloads the table, navigation bar, and does a table view animation:

leftButton.image = [UIImage imageNamed:@"BackButton"];
leftButton = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStyleBordered target:self action:@selector(moveToParentDirectory)];
self.navigationItem.leftBarButtonItem = leftButton;

NSString *subpath = [self.currentPath stringByAppendingPathComponent:selectedFile.filename];
self.currentPath = subpath;
self.title = [currentPath lastPathComponent];

...

[self listDirectoryAtPath:subpath];
[tableView deselectRowAtIndexPath:indexPath animated:YES];

Needs to be fixed. Would provide numerous benefits if a new view controller could be pushed.

Thread 1:EXC_BAD_ACCESS On demo and any other thing i try it on

validation with api key and everything goes smoothly once im logged in i drag the tabview to refresh and i get Thread 1:EXC_BAD_ACCESS (code=2, address=0xbf7fffcc) on the beggining of this method call

(DBRestClient *)restClient {
if (!self.restClient) {
self.restClient = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
self.restClient.delegate = self;
}
return self.restClient;
}

screen shot 2014-08-15 at 2 30 26 am
screen shot 2014-08-15 at 2 29 42 am

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.