mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 11:07:07 +00:00
Added numberOfRows and numberOfColumns to CPCollectionView.
Reviewed by me.
This commit is contained in:
1 parent
9d70c6ad9c
commit
d1977f148e
1 file changed
+17
@@ -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
|
||||
|
||||
Reference in new issue
Block a user