有人知道为什么 Xcode 5 Analyze 抱怨这个:
ZIFollowerRequestsCell.m:34:5: 返回 'self' 而它未设置为 '[(super or self) init...]' 的结果
#import "ZIFollowerRequestsCell.h"
@implementation ZIFollowerRequestsCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
NSArray *nibArray = [[NSBundle mainBundle] loadNibNamed:@"ZIFollowerRequestsCell" owner:self options:nil];
self = [nibArray objectAtIndex:0];
self.profileImageView.image = nil;
self.profileImageView.userInteractionEnabled = YES;
}
return self;
}
@end
@interface ZIFollowerRequestsCell : UITableViewCell <UIGestureRecognizerDelegate>
@end
谢谢你的帮助。