How would you proceed to display the content of an NSSet
in a UITableView
?
As you know, the table view will ask for the element at a given row, but since the NSSet
elements aren't ordered, this doesn't mix well.
My current solution is to iterate through the NSSet
until I reach the element at a given index, but this really doesn't feel right.
You may ask why I don't use an NSArray
instead. This is because I'm using Core Data, which uses NSSet
s to store collection of elements.
Any help would be appreciated.