I want to get the value from NSDictionary . I want to manage the "Code" key according to the code of the code, I will get the data values. I get an error message when I try to use different methods.
ERROR MESSAGE
2011-08-11 12: 45: 21.549 AOK [6312: 207] - [__ NSArrayM getObjects: andKeys:]: unrecognized selector sent to instance 0x5e138b0 2011-08-11 12: 45: 21.550 AOK [6312: 207] * Application termination due to uncaught exception "NSInvalidArgumentException", reason: '- [__ NSArrayM getObjects: andKeys:]: unrecognized selector sent to instance 0x5e138b0' * Call stack on first throw:
NSDictionary
( { Omschrijving = "ADDD"; Ophaaldata = { Datum = ( "2011-07-04", "2011-07-11", "2011-07-18", "2011-07-25" ); }; }, { Omschrijving = "BBBB"; Ophaaldata = { Datum = ( "2011-07-05", "2011-07-12", "2011-07-19", "2011-07-26" ); }; }, { Omschrijving = "KKKK"; Ophaaldata = { Datum = ( "2011-07-07", "2011-07-14", "2011-07-21", "2011-07-28" ); }; }, { Omschrijving = "LLLLL"; Ophaaldata = { Datum = ( "2011-07-01", "2011-07-08", "2011-07-15", "2011-07-22", "2011-07-29" ); }; }, { Omschrijving = "MMMMM"; Ophaaldata = { Datum = ( "2011-07-01", "2011-07-15", "2011-07-29" ); }; }, { Code = POP; Omschrijving = "FFFF"; Ophaaldata = { Datum = "2011-07-12"; }; }, { Code = 00; Omschrijving = "SSSS"; Ophaaldata = { Datum = ( "2011-07-14", "2011-07-27" ); }; }, { Code = 01; Omschrijving = "CCCCC"; Ophaaldata = { Datum = ( "2011-07-06", "2011-07-20" ); }; } )
hiwordls
source share