Play-/Source/ui_ios/CoverViewCell.m
2015-08-31 14:59:33 -04:00

36 lines
566 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;
}
- (void)awakeFromNib
{
// Initialization code
}
@end