UITable ビューに NSDictionary のデータを入力しようとしています。のように indexPath を使用してデータにアクセスできればすばらしいと思いcellForRowAtIndexPath
ます。
{
"December 2012" = (
"2012-12-08 13:56:53 +0000"
);
"July 2013" = (
"2013-07-17 12:54:22 +0000"
);
"June 2013" = (
"2013-06-17 12:29:57 +0000",
"2013-06-20 12:02:17 +0000",
"2013-06-21 11:55:58 +0000",
"2013-06-21 12:16:59 +0000",
"2013-06-25 12:59:39 +0000",
"2013-06-25 13:01:10 +0000",
"2013-06-25 13:02:22 +0000",
"2013-06-26 12:24:28 +0000",
"2013-06-27 12:29:00 +0000"
);
"May 2013" = (
"2013-05-23 12:54:35 +0000"
);
}
2013-06-28 08:49:49.948 [4714:c07] <NSIndexPath 0x747b840> 2 indexes [0, 0]
2013-06-28 08:49:49.950 [4714:c07] <NSIndexPath 0x8563750> 2 indexes [1, 0]
2013-06-28 08:49:49.951 [4714:c07] <NSIndexPath 0x747e740> 2 indexes [2, 0]
2013-06-28 08:49:49.95 [4714:c07] <NSIndexPath 0x7473880> 2 indexes [2, 1]
2013-06-28 08:49:49.953 [4714:c07] <NSIndexPath 0x747a5d0> 2 indexes [2, 2]
2013-06-28 08:49:49.954 [4714:c07] <NSIndexPath 0x7489550> 2 indexes [2, 3]
2013-06-28 08:49:49.955 [4714:c07] <NSIndexPath 0x818ddc0> 2 indexes [2, 4]
2013-06-28 08:50:10.298 [4714:c07] <NSIndexPath 0x955f6c0> 2 indexes [2, 5]
2013-06-28 08:50:10.330 [4714:c07] <NSIndexPath 0x8360750> 2 indexes [2, 6]
2013-06-28 08:50:10.346 [4714:c07] <NSIndexPath 0x85739e0> 2 indexes [2, 7]
2013-06-28 08:50:10.363 [4714:c07] <NSIndexPath 0x9560690> 2 indexes [2, 8]
2013-06-28 08:50:10.380 [4714:c07] <NSIndexPath 0x9065b00> 2 indexes [3, 0]
2013-06-28 08:50:10.998 [4714:c07] <NSIndexPath 0x9660f70> 2 indexes [2, 2]
上に私の辞書のレイアウトが表示され、その下に対応するインデックス パスが表示されます。データを取得する最善の方法は何ですか? NSDictionary 以外のものを使用する必要がありますか?