5 Replies
      Latest reply: Nov 10, 2016 2:43 AM by eskimo RSS
      MattDouhan Level 1 Level 1 (0 points)

        Hi

         

        I am using the following code to do a DB lookup

         

        NSArray *items = [[DataManager alloc] getItemInfoFromBarCode:symbol.data];
        

         

        I am doing this inside a loop and feeding it different values as symbol.data

         

        In each loop I need to know if I got a hit or not and if it filled the items array with data I need to break out of the loop and not feed it more data

         

        My problem is I cannot figure out how to see if the array has been filled with data or not

         

        Any hints would be very helpful

         

        Matt