objective c - iphone timer plist file display -


i'm going ask question again,i thought had figured out guess not. timer app gets timer info plist file. works want .plist extension not show in tableview. here 2 code snippets believe issue. these in array called nsarray *files;

self.files = [[nsbundle mainbundle] pathsforresourcesoftype:@"plist" indirectory:@"timers1"];  // configure cell.  cell.textlabel.text = [[files objectatindex:indexpath.row] lastpathcomponent]; return cell; 

thanks help

nsstring *text = [[files objectatindex:indexpath.row] lastpathcomponent]; text = [text substringtoindex:[text rangeofstring:@"."].location]; cell.textlabel.text = text; 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -