multithreading - Multi-threading in Cocoa & Determining what cells are checked in Cocoa -


Question 1 - I am currently writing a program that was loaded with data view The table view is the name of each of these cells from the on-disk property list, and it is a checkbox. The purpose of the program is to get the 'go' button, and when pressed, it will go through the table, to see if the cells are checked.

Example

  • x file 1

    For example

  • _ file 2
  • x file 3

    When pressed 'Go', this file will download file (file 1 & amp; 3) from somesite.com/ File1.zip, somesite.com/File3.zip.

    Currently, what I have written will only check the previous file and download it.

    Question 2 - Once I understand this, I would like to know that due to the succession rather than downloading all the files at the same time, because it is the same Looks like my program is doing now

    that button is included in the code implemented by the button Should be:

      IBOutlet NSButton * checkbox 1;   

    In the variable area in your header (plus checkbox 2 and checkbox 3)

    It should be connected to the checkbox in the IBOutlet interface layout. Read about IBOutlets in

    simultaneously to download multiple files simultaneously ?? | You should use multiple NSURLConnections asynchronously This may be a bit tricky Take a look at this here to see many questions at this time to manage multiple connections:



Comments