Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated readme

  • Loading branch information...
commit 35a54cc82b66cf9ab19aab276038ea813c5f11b2 1 parent 2087b21
@soffes soffes authored
Showing with 15 additions and 1 deletion.
  1. +1 −1  Readme.markdown
  2. +14 −0 SSToolkit/SSCollectionView.m
View
2  Readme.markdown
@@ -8,7 +8,7 @@ If you're using this in your project, I'd love to hear about it! [Send me an ema
### Views
-* [SSCollectionView][] - simple collection view modeled after UITableView and NSCollectionView
+* [SSCollectionView][] - simple collection view modeled after UITableView and NSCollectionView (*Note: currently unstable. Use the version in the stable branch unless you're feeling adventurous.*)
* [SSGradientView][] - easily create gradients with optional borders and insets
* [SSHUDView][] - simple heads-up display
* [SSLabel][] - ever wanted to align your text to the top or the bottom
View
14 SSToolkit/SSCollectionView.m
@@ -16,6 +16,8 @@ @interface SSCollectionView (PrivateMethods)
- (CGSize)_itemSizeForSection:(NSInteger)section;
- (NSInteger)_numberOfItemsInSection:(NSInteger)section;
- (NSArray *)_itemsForRowIndexPath:(NSIndexPath *)rowIndexPath;
+- (NSIndexPath *)_rowIndexPathForItemIndexPath:(NSIndexPath *)itemIndexPath;
+- (NSIndexPath *)_deepRowIndexPathForItemIndexPath:(NSIndexPath *)itemIndexPath;
@end
@implementation SSCollectionView
@@ -157,6 +159,18 @@ - (NSArray *)_itemsForRowIndexPath:(NSIndexPath *)rowIndexPath {
}
+- (NSIndexPath *)_rowIndexPathForItemIndexPath:(NSIndexPath *)itemIndexPath {
+ // TODO: Implement
+ return nil;
+}
+
+
+- (NSIndexPath *)_deepRowIndexPathForItemIndexPath:(NSIndexPath *)itemIndexPath {
+ // TODO: Implement
+ return nil;
+}
+
+
#pragma mark Getters
- (UIScrollView *)scrollView {
Please sign in to comment.
Something went wrong with that request. Please try again.