文字列を として使用したいobjectForkey
。私のコード行はこれです。
そして、「strend」を として使いたいのですが、うまくいきobjectForkey
ませんでした。
コードは次のとおりです。
NSString *strend = [[NSString alloc] initWithFormat:@"%@",[[detwec.arrdetails objectAtIndex:0]valueForKey:@"EndDate"]];
NSString *dateString = [[NSString alloc]initWithFormat:@"%@",[_currentItemValue objectForKey:@"strend" ]];