Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #188 from sethfri/master

Typo Fix
  • Loading branch information...
commit 0ec35a1d989478afaf2744219dc2e74cf6c7ab74 2 parents db62ea0 + 4bbb8d5
@soffes authored
View
2  SSToolkit/SSCollectionView.m
@@ -808,7 +808,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell = [[SSCollectionViewExtremityTableViewCell alloc] initWithReuseIdentifier:extremityCellIdentifier];
}
- cell.extrimityView = [self _extremityViewForSection:rowIndexPath.section type:cellType];
+ cell.extremityView = [self _extremityViewForSection:rowIndexPath.section type:cellType];
return cell;
}
View
2  SSToolkit/SSCollectionViewExtremityTableViewCell.h
@@ -8,7 +8,7 @@
@interface SSCollectionViewExtremityTableViewCell : UITableViewCell
-@property (nonatomic, strong) UIView *extrimityView;
+@property (nonatomic, strong) UIView *extremityView;
- (id)initWithReuseIdentifier:(NSString *)aReuseIdentifier;
View
14 SSToolkit/SSCollectionViewExtremityTableViewCell.m
@@ -12,12 +12,12 @@ @implementation SSCollectionViewExtremityTableViewCell
#pragma mark - Accessors
-@synthesize extrimityView = _extrimityView;
+@synthesize extremityView = _extremityView;
-- (void)setExtrimityView:(UIView *)view {
- [_extrimityView removeFromSuperview];
- _extrimityView = view;
- [self addSubview:_extrimityView];
+- (void)setExtremityView:(UIView *)view {
+ [_extremityView removeFromSuperview];
+ _extremityView = view;
+ [self addSubview:_extremityView];
[self setNeedsLayout];
}
@@ -25,7 +25,7 @@ - (void)setExtrimityView:(UIView *)view {
#pragma mark - UIView
- (void)layoutSubviews {
- _extrimityView.frame = self.bounds;
+ _extremityView.frame = self.bounds;
}
@@ -47,7 +47,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
- (void)prepareForReuse {
[super prepareForReuse];
- self.extrimityView = nil;
+ self.extremityView = nil;
}

0 comments on commit 0ec35a1

Please sign in to comment.
Something went wrong with that request. Please try again.