In UITableView.h, in the interface declaration for UITableView, ivar struct _tableFlags exists. All members of the structure are defined as unsigned int, but each member is followed by a colon followed by a number.
struct {
unsigned int dataSourceNumberOfRowsInSection:1;
unsigned int dataSourceCellForRow:1;
...
unsigned int longPressAutoscrollingActive:1;
unsigned int adjustsRowHeightsForSectionLocation:1;
unsigned int customSectionContentInsetSet:1;
} _tableFlags;
Cocoa tends to make wide use of this syntax in its header files, but I don't know what that means and what its function is. What does the colon and the number following the participant’s title mean?
source
share