title: Hiding/Showing UITableViewCell Accessory Disclosure Indicator
body: <p>I am trying to load a string from Core Data and if that value in that row equals to "--" the Accessory Disclosure Indicator will hide and the cell selection style should be <code>SelectionStyleNone</code>.  </p>
  
  <p>I tried this, but not successful  </p>
  
  <pre><code>if (entity.value == @"--"){
      cell.selectionStyle = UITableViewCellSelectionStyleNone;  
      cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
  }  
  </code></pre>
  
  <p>Or </p>
  
  <pre><code>NSString *this = entity.value;
  if (this == @"--") {
      cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
      cell.selectionStyle = UITableViewCellSelectionStyleNone;
  }
  </code></pre>
  
  <p>Neither are working, but is this possible though? Thanks.</p>