Mac need help with a mac application I'm writing

roddev

macrumors newbie
Original poster
Mar 19, 2014
2
0
I'm writing a mac application with cocoa

I was following this link: https://developer.apple.com/library/mac/documentation/cocoa/conceptual/URLLoadingSystem/Tasks/UsingNSURLDownload.html

for using NSURLDownload

however I have these design elements:

window has an username/password
calls a webservice to login and get some information
calls a webservice to get downloads from purchase(s) made

I get valid data with url's to download my files, which are 10-30-40 MB in size...

my goal was to use a table view with a progress bar but my progress bar never updates...

sighs...if you can help we can go over an NDA and NC agreement as that's required but it's pretty simple, call a webservice get a list of files that has downloads requested and download the file(s)...
 

balamw

Moderator
Staff member
Aug 16, 2005
19,095
963
New England
Your question might be better off at Stackoverflow.
MOD NOTE: Why? We have a good programming section here. I have moved the thread there.


----------

sighs...if you can help we can go over an NDA and NC agreement as that's required but it's pretty simple, call a webservice get a list of files that has downloads requested and download the file(s)...
It's better if you remove anything proprietary form the code and post working sections of code here.

Make a small example code that demonstrates the failure mechanism.

B
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
8,707
3,993
if you can help we can go over an NDA and NC agreement as that's required but it's pretty simple
Get over yourself. If you can't get the code to work without help, what the heck makes you think it's worth stealing? We're here to help - you can either recognize that and enable us to help you by sharing your code, or you can pretend that your broken code is solid gold.

Even if your code was worth stealing, we have no shortage of our own code to work on - we'd never get around to stealing your code. But, recognizing that talent pool would dry up if the know-hows never helped the know-nots (which would increase our individual value but have a negative impact on society at large), well, here we are to help.

When I post NDA code, I generally strip out everything that has nothing to do with the problem (which you should do anyways), and then change variable names if they make it obvious what you're working on.
 

kage207

macrumors 6502a
Jul 23, 2008
972
8
Sorry. I kinda agree with the poster above me. I would enjoy helping you but I'm not signing a NDA. That's just silly.

Post the code that is not working. Change variable names / functions. Describe the functions, their parameters (and types), return data (and type) and what their relationship is to the problematic code is.

I don't need to know what application you are doing. I can see what's going on in the code and not have the whole picture. Most programmers who help others online can conceptual the unit test scenario to figure out how to get it working.

Otherwise, good luck finding a contractor who you will have to pay (most likely).