This repository has been archived by the owner on Feb 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent setting of SSCollectionView's internal UITableView private pr…
…operties
- Loading branch information
Showing
4 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// SSCollectionViewTableView.h | ||
// SSToolkit | ||
// | ||
// Created by Sam Soffes on 10/17/11. | ||
// Copyright (c) 2011 Sam Soffes. All rights reserved. | ||
// | ||
|
||
@class SSCollectionView; | ||
|
||
@interface SSCollectionViewTableView : UITableView | ||
|
||
- (void)_setDelegate:(SSCollectionView *)aCollectionView; | ||
- (void)_setDataSource:(SSCollectionView *)aCollectionView; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// SSCollectionViewTableView.m | ||
// SSToolkit | ||
// | ||
// Created by Sam Soffes on 10/17/11. | ||
// Copyright (c) 2011 Sam Soffes. All rights reserved. | ||
// | ||
|
||
#import "SSCollectionViewTableView.h" | ||
|
||
@implementation SSCollectionViewTableView | ||
|
||
- (void)setDelegate:(id<UITableViewDelegate>)delegate { | ||
// Do nothing. | ||
} | ||
|
||
|
||
- (void)setDataSource:(id<UITableViewDataSource>)dataSource { | ||
// Do nothing. | ||
} | ||
|
||
|
||
- (void)_setDelegate:(SSCollectionView *)aCollectionView { | ||
[super setDelegate:(id<UITableViewDelegate>)aCollectionView]; | ||
} | ||
|
||
|
||
- (void)_setDataSource:(SSCollectionView *)aCollectionView { | ||
[super setDataSource:(id<UITableViewDataSource>)aCollectionView]; | ||
} | ||
|
||
|
||
@end |