title: Error: variable is not a CFArray
body: <p>I am trying to create custom UITableViewCells, following this <a href="http://www.techotopia.com/index.php/Using_Xcode_Storyboards_to_Build_Dynamic_TableViews_with_Prototype_Table_View_Cells" rel="nofollow">article</a>.  I add outlets for three fields in the cell.  I am taking data stored in an NSMutableArray and placing them in the custom cell labels.  When debugging, I can see the data in the source array elements, but this is in the cell labels: "variable is not a CFArray".  Obviously it's not working... here is the code:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      NSLog(@"--&gt; cellForRowAtIndexPath");
  
      static NSString *CellIdentifier = @"siteTableCell";
  
      SiteListingsCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[SiteListingsCell alloc]
                  initWithStyle:UITableViewCellStyleDefault 
                  reuseIdentifier:CellIdentifier];
      }
  
      // Configure the cell...
      cell.staLabel.text = [self.staLabels objectAtIndex: [indexPath row]];
      cell.descLabel.text = [self.descLabels objectAtIndex:[indexPath row]];
      cell.dateLabel.text = [self.dateLabels objectAtIndex:[indexPath row]];
  
      return cell;
  }
  </code></pre>
  
  <p>This is the definition of the labels:</p>
  
  <pre><code>@interface SiteListingsCell : UITableViewCell  {
  
  }
  
  @property (nonatomic, strong) IBOutlet UILabel *staLabel;
  @property (nonatomic, strong) IBOutlet UILabel *descLabel;
  @property (nonatomic, strong) IBOutlet UILabel *dateLabel;
  
  @end
  </code></pre>
  
  <p>This is the definition of sArray:</p>
  
  <pre><code>@interface sArray : NSObject  {  //  class (struct) to hold site information
  
  }
  
  @property (nonatomic, readwrite) NSString *sSiteID;
  @property (nonatomic, readwrite) NSString *sInitialSTA;
  @property (nonatomic, readwrite) NSString *sElev;
  @property (nonatomic, readwrite) NSString *sJobDesc;
  @property (nonatomic, readwrite) NSString *sJobDate;
  
  @end
  </code></pre>
  
  <p>UPDATE: This code gets called when I want to fill sArray and move the values to the custom cell labels: </p>
  
  <pre><code>- (void) displaySites {
  
      NSLog(@"displaySites");
  
      //  get list of sites and place them in sArray
      slSQLite *dbCode = [[slSQLite alloc] init];
      [dbCode getListOfSites];
  
      //  put site data into array for display
      NSLog(@"\n2-The array listOfSites contains %d items", dbCode.listOfSites.count);
   //   sArray *sa = [[sArray alloc] init];  // initialize sArray object
  
      for(int i = 0; i &lt;dbCode.listOfSites.count; i++)  {
          sArray *sa = [dbCode.listOfSites objectAtIndex:i];  //  get the sArray out of listOfSites
  
          staLabels =  sa.sSiteID;
          descLabels = sa.sJobDesc;
          dateLabels = sa.sJobDate;
      }
      return;
  }
  </code></pre>
  
  <p>How do I fix this so it works?</p>