I have been working on tHe plist in iOS.I have saved font style Marker Felt Thin 25.0 as string in plist.
Now i want to retrieve that string and assign font to the my tableview cell text.
while i am trying is not affecting the cell why is it so...?
NSString *path = [[NSBundle mainBundle] pathForResource:@"myPlist" ofType:@"plist"];
// Load the file content and read the data into arrays
NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithContentsOfFile:path];
cell.textLabel.font=[UIFont fontWithName:[[dict objectForKey:@"Font"]size:15]];
How can i do it...?
PList[2423:126298] { Names = ( Ajith, Bhuvan, Carrie, David, Ezzel, Farroq, Quresema, Ganesh, Harris, Imman, Jagadish, Kevin, Lucy, Manoj, Nathan, Oram, Pawan, Remy, San, Tanu, Urmilla, Vidya, Watson, Xabi, Yamini, Zaheer ); font = "Marker Felt Thin "; } Dictionary Values