title: How can I set IndentationLevel in UITableViewCell?
body: <p>I am new to swift. </p>
  
  <p>How can I set IndentationLevel in <code>UITableViewCell</code>? </p>
  
  <p>I have already achieved through Objective C, but I am not able to achieve through Swift.</p>
  
  <p>EDIT:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  static NSString *CellIdentifier = @"Cell";
  
       UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
       if (cell == nil) {
           cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] ;
       }
  
       cell.textLabel.text=[[self.menuTableAr objectAtIndex:indexPath.row] valueForKey:@"name"];
       [cell setIndentationLevel:[[[self.menuTableAr objectAtIndex:indexPath.row] valueForKey:@"level"] intValue]];
  
       return cell;
  }
  </code></pre>
  
  <p>Thanks</p>