diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j index 8d265f18b..5ed2673df 100644 --- a/AppKit/CPCollectionView.j +++ b/AppKit/CPCollectionView.j @@ -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