Play-/Source/ui_ios/CoverViewCell.m
Jean-Philip Desjardins 95da46c153 Code style fixes.
2020-12-07 10:44:04 -05:00

30 lines
500 B
Objective-C

#import "CoverViewCell.h"
@implementation CoverViewCell
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if(self)
{
// Initialization code
NSArray* arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"coverCell" owner:self options:nil];
if([arrayOfViews count] < 1)
{
return nil;
}
if(![[arrayOfViews objectAtIndex:0] isKindOfClass:[UICollectionViewCell class]])
{
return nil;
}
self = [arrayOfViews objectAtIndex:0];
}
return self;
}
@end