I am trying to concatenate and di开发者_StackOverflowsplay string and number together in a table view cell. Is there any mechanism to convert both of them together to a label string?
You could use NSString * compositeString = [[NSString alloc] initWithFormat:@"%@ %d", myOtherString, myInt]
This is described in NSString stringWithFormat: in the NSString documentation.
Try cell.textLabel.text = [NSString stringWithFormat:@"%@: @d",strIntName, [num intValue]];
cell.textLable.text=[NSString stringWithFormat:@"%@%d",yourString,yourNumber];
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论