使用数组充填UItableview
,需要在数组的cell中匹配对象。
数组如下:
(
(
{
cost = 160;
height = 1;
room_number = 1;
square_size = 1;
title = "TIMBER BLINDS";
width = 1;
}
),
(
{
cost = 170;
height = 1;
room_number = 2;
square_size = 1;
title = "ROMAN BLINDS";
width = 1;
}
)
问题:如何将正确的标题匹配到cell中,配对条件是array的room_number。