Added numberOfRows and numberOfColumns to CPCollectionView.

Reviewed by me.
This commit is contained in:
Nicholas Small authored and Francisco Ryan Tolmasky I committed 2009-01-29 11:30:53 -08:00
1 parent 9d70c6ad9c
commit d1977f148e
1 file changed
+17
+17
View File
@@ -436,6 +436,23 @@
return _maxNumberOfColumns;
}
/*!
Returns the current number of rows
*/
- (unsigned)numberOfRows
{
return _numberOfRows;
}
/*!
Returns the current number of columns
*/
- (unsigned)numberOfColumns
{
return _numberOfColumns;
}
/*!
Sets the minimum size for an item
@param aSize the new minimum item size