-
Notifications
You must be signed in to change notification settings - Fork 255
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
Problem with initForWritingToCSVFile #49
Comments
Off the top of my head, I believe the “CSVFile” parameter needs to be a full path, not just the name of a file. Dave On Jul 25, 2013, at 10:01 AM, ijacob [email protected] wrote:
|
I tried this:
worked neither |
In that case, I think you're running in to Issue #46. I don't have a quick answer to that right now. I'll perhaps have some time to work on this in a couple of days. |
Can you tell me how to do the stream thing to create that file? I went through the documentation and also the Apple docs but it honestly it makes no sense to me |
Got it, just needed a few minutes fresh air :) NSURL *datapath = [[self applicationDocumentDirectory] URLByAppendingPathComponent:@"export.csv"];
|
Yep, that will definitely work if you have a small-to-moderate amount of data. If you've got lots and lots and lots of data, you'll notice you're memory usage grow commensurately. Like I said, I'll try and deal with this in a couple of days. |
Hi Dave,
I was assuming when I do something like this:
CHCSVWriter *writer = [[CHCSVWriter alloc] initForWritingToCSVFile:@"export.csv"];
It would create a file in the Apps DocumentDirectory but there is no file, am I doing something wrong? Need some advise because I'm not very familiar with the stream method.
Thanks in advance
Ingemar
The text was updated successfully, but these errors were encountered: