iphone how to customize UITableViewCell cell.textlabel and cell.detailtextlabel programmatically
        Posted  
        
            by 
                Prerak
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Prerak
        
        
        
        Published on 2011-01-08T07:13:52Z
        Indexed on 
            2011/01/08
            10:54 UTC
        
        
        Read the original article
        Hit count: 310
        
Hi!
In my iPhone App In table view cell I want to dispaly one main title and 5 subtitlessubtitles suppose item1 as main title and item2 , item3 , item4 , item5 and item6 as subtitles,
for that i have saperate two arrays for passing the values in table view cell one for cell.textLabel.text= second for cell.detailTextLabel.text

now I want the flexibility to make item2 as maintitle and want to add item1 to subtitle

How can I set title and subtitle programmatically from single array? and any of them as
Please Help and Suggest,
Thank You.
© Stack Overflow or respective owner