Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #188 from sethfri/master
Browse files Browse the repository at this point in the history
Typo Fix
  • Loading branch information
soffes committed Jun 25, 2013
2 parents db62ea0 + 4bbb8d5 commit 0ec35a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SSToolkit/SSCollectionView.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell = [[SSCollectionViewExtremityTableViewCell alloc] initWithReuseIdentifier:extremityCellIdentifier]; cell = [[SSCollectionViewExtremityTableViewCell alloc] initWithReuseIdentifier:extremityCellIdentifier];
} }


cell.extrimityView = [self _extremityViewForSection:rowIndexPath.section type:cellType]; cell.extremityView = [self _extremityViewForSection:rowIndexPath.section type:cellType];


return cell; return cell;
} }
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSCollectionViewExtremityTableViewCell.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@interface SSCollectionViewExtremityTableViewCell : UITableViewCell @interface SSCollectionViewExtremityTableViewCell : UITableViewCell


@property (nonatomic, strong) UIView *extrimityView; @property (nonatomic, strong) UIView *extremityView;


- (id)initWithReuseIdentifier:(NSString *)aReuseIdentifier; - (id)initWithReuseIdentifier:(NSString *)aReuseIdentifier;


Expand Down
14 changes: 7 additions & 7 deletions SSToolkit/SSCollectionViewExtremityTableViewCell.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ @implementation SSCollectionViewExtremityTableViewCell


#pragma mark - Accessors #pragma mark - Accessors


@synthesize extrimityView = _extrimityView; @synthesize extremityView = _extremityView;


- (void)setExtrimityView:(UIView *)view { - (void)setExtremityView:(UIView *)view {
[_extrimityView removeFromSuperview]; [_extremityView removeFromSuperview];
_extrimityView = view; _extremityView = view;
[self addSubview:_extrimityView]; [self addSubview:_extremityView];
[self setNeedsLayout]; [self setNeedsLayout];
} }




#pragma mark - UIView #pragma mark - UIView


- (void)layoutSubviews { - (void)layoutSubviews {
_extrimityView.frame = self.bounds; _extremityView.frame = self.bounds;
} }




Expand All @@ -47,7 +47,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus


- (void)prepareForReuse { - (void)prepareForReuse {
[super prepareForReuse]; [super prepareForReuse];
self.extrimityView = nil; self.extremityView = nil;
} }




Expand Down

0 comments on commit 0ec35a1

Please sign in to comment.