iphone - -[NSPathStore2 objectForKey:]: unrecognized selector sent to instance 0x6a3fc60' -


i preparing customcellview in tableview. according me, perfect in .xib , methods. getting exception in configuring cell.

int listindex = [indexpath indexatposition:[indexpath length] - 1];     nslog(@"outside");               cell.lblname.text = (nsstring *) [[directorycontent objectatindex:listindex] objectforkey:@"filesname"];     cell.lblsize.text = (nsstring *) [[directorycontent objectatindex:listindex] objectforkey:@"filessize"];     cell.lbltype.text = (nsstring *) [[directorycontent objectatindex:listindex] objectforkey:@"filestype"];     return cell; 

the compiler works till nslog(@"outside");. not proceeds next line. terminated error

2010-11-15 20:32:28.623 idatatraveller[5346:207] outside 2010-11-15 20:32:28.625 idatatraveller[5346:207] -[nspathstore2 objectforkey:]: unrecognized selector sent instance 0x5f19cf0 2010-11-15 20:32:28.627 idatatraveller[5346:207] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[nspathstore2 objectforkey:]: unrecognized selector sent instance 0x5f19cf0' 

please me proceed.. thank in advance..

wherever created directorycontent, stored wrong object in it.
nspathstore2 object created if use stringbyappendingpathcomponent: on nsstring.
guess stored filename in array wanted store nsdictionary created nsfilemanagers attributesofitematpath:error:

check part add objects directorycontent again.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -