Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kettch committed May 30, 2016
1 parent a462512 commit 6a74231
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions JNWCollectionView/JNWCollectionViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,20 @@ - (instancetype)initWithFrame:(NSRect)frameRect {
}

- (instancetype)initWithCoder:(NSCoder *)coder {
self = [super initWithCoder:coder];
if (self == nil) return nil;
self.wantsLayer = YES;
self.layerContentsRedrawPolicy = NSViewLayerContentsRedrawOnSetNeedsDisplay;
_backgroundView = [[JNWCollectionViewCellBackgroundView alloc] initWithFrame:self.bounds];
_backgroundView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
_crossfadeDuration = 0.25;
[self addSubview:_backgroundView positioned:NSWindowBelow relativeTo:nil];
return self;
self = [super initWithCoder:coder];
if (self == nil) return nil;

self.wantsLayer = YES;
self.layerContentsRedrawPolicy = NSViewLayerContentsRedrawOnSetNeedsDisplay;

_backgroundView = [[JNWCollectionViewCellBackgroundView alloc] initWithFrame:self.bounds];
_backgroundView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
_crossfadeDuration = 0.25;
[self addSubview:_backgroundView positioned:NSWindowBelow relativeTo:nil];
return self;
}

- (void)prepareForReuse {
Expand Down

0 comments on commit 6a74231

Please sign in to comment.