ios - How to read sub elements of a plist file -


i having plist file want access 3 elements( item 0, item 1, item 2 ) under under 5k , want store in array. how can ? if 1 know solution please me solve issue. if not clear please post comments replay it.

thanks in advance.

enter image description here

expended form.

enter image description here

the code have used

-(void)selectlevel {     plistpath = [[nsbundle mainbundle] pathforresource:@"planlist" oftype:@"plist"];      nsmutabledictionary * plist = [[nsmutabledictionary alloc] initwithcontentsoffile:plistpath];      nsmutabledictionary * specific;     nsarray * leveldata = [plist objectforkey:@"5k"];      nsarray *complexity = [leveldata objectatindex:1];       nslog(@"++++++++%@",complexity);      (int i=0; i<3; i++) {         specific =(nsmutabledictionary *)[leveldata objectatindex:i];          nslog(@"-------%@",specific);     }      nslog(@"=======-%@",[specific allkeys]); } 

out put getting

enter image description here


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -