【发布时间】:2015-08-20 07:37:21
【问题描述】:
for (index, button) in ratingButtons.enumerate() <--getting my error here
{
buttonFrame.origin.x = CGFloat(index * (44 + 5))
button.frame = buttonFrame
}
}
我也试过 enumerate(ratingButtons) 但它没有在数组中添加按钮
【问题讨论】: