0 Replies - 3956 Views - Last Post: 09 July 2012 - 04:40 PM

#1 newbcake  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 04-February 12

[Cocoa] Help with multi-threading and NSButtonCell

Posted 09 July 2012 - 04:40 PM

Question 1 - I am currently writing a program that has a table view that is loaded with data from an on-disk property list. Each of these cells has a name associated with it, and a checkbox. The program's purpose is to have a 'Get' button, and when pressed, will go through the table, checking to see what cells are checked. For each one that is checked, it will grab it's URL (which is just the secondary cell) and download it.

Example

x File 1
_ File 2
x File 3
When pressing 'Get', it will go download the file (Files 1 & 3) from somesite.com/File1.zip, somesite.com/File3.zip.

Currently, what I have written will just download the last file checked.

Question 2 - Once I can figure that out, I would like to know how to download all the files at the same time, rather than in succession, because that's what it looks like my program is doing right now.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1