Skip to content

Commit

Permalink
[core] Remove unnecessary private property declarations from NIViewRe…
Browse files Browse the repository at this point in the history
…cycler.
  • Loading branch information
jverkoey committed Jun 11, 2012
1 parent a9d7ca3 commit 70ede1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 1 addition & 6 deletions src/core/src/NIViewRecycler.h
Expand Up @@ -68,15 +68,10 @@ if (nil == view) {
*
* This sort of object is what UITableView and NIPagingScrollView use to recycle their views.
*/
@interface NIViewRecycler : NSObject {
@private
NSMutableDictionary* _reuseIdentifiersToRecycledViews;
}

@interface NIViewRecycler : NSObject
- (UIView<NIRecyclableView> *)dequeueReusableViewWithIdentifier:(NSString *)reuseIdentifier;
- (void)recycleView:(UIView<NIRecyclableView> *)view;
- (void)removeAllViews;

@end

/**
Expand Down
6 changes: 6 additions & 0 deletions src/core/src/NIViewRecycler.m
Expand Up @@ -18,12 +18,18 @@

#import "NimbusCore.h"

@interface NIViewRecycler()
@property (nonatomic, readwrite, retain) NSMutableDictionary* reuseIdentifiersToRecycledViews;
@end


///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
@implementation NIViewRecycler

@synthesize reuseIdentifiersToRecycledViews = _reuseIdentifiersToRecycledViews;


///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)dealloc {
Expand Down

0 comments on commit 70ede1c

Please sign in to comment.