Skip to content
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

Inconsistent Saving Implementation #26

Closed
cancan101 opened this issue Nov 18, 2015 · 3 comments
Closed

Inconsistent Saving Implementation #26

cancan101 opened this issue Nov 18, 2015 · 3 comments

Comments

@cancan101
Copy link
Contributor

There seem to be two different methods being used to save NSData and I am not sure why:

BOOL success = [[NSFileManager defaultManager] createFileAtPath:filepath contents:data attributes:attributes];

BOOL success = [urlData writeToFile:filepath atomically:YES];
@johanneslumpe
Copy link
Collaborator

@cancan101 Where did you see BOOL success = [urlData writeToFile:filepath atomically:YES]; in the codebase?

@cjdell
Copy link
Collaborator

cjdell commented Nov 19, 2015

@johanneslumpe It's gone now, I rebuilt downloadFile. :-)

@johanneslumpe
Copy link
Collaborator

oh :D Ok cool, then we can close this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants