我有4個按鈕(日期1,日期2,時間1和時間2)和3個標籤的按鈕,我可以分配從給定的輸出的標籤用作分配數據從服務目標C
_lblName.text = [medicationdicts objectForKey:@"Name"];
_lblMedicine.text = [medicationdicts objectForKey:@"Medicine"];
_lblDate.text = [medicationdicts objectForKey:@"ExpDate"];
但是,如何能我從以下輸出中爲按鈕指定日期和時間(Date1 = 2017-04-05,Date2 = 2017-04-06,Time1 = 07:00:00和Time2 = 07:10:00)
Name = Abhi;
Medicine = Colpol;
Time = (
{
Date = "2017-04-05";
Time = "07:00:00";
},
{
Date = "2017-04-06";
Time = "07:10:00";
}
);
ExpDate = "2017-04-30";
幫我解決這個問題。 TIA
感謝@raki工作就像一個天才 – Rajeev
標記答案接受,這將可幫助他人。@拉傑夫 – raki