Xcode 5 Analyzeがこれについて不平を言う理由を誰かが知っています:
ZIFollowerRequestsCell.m:34:5: '[(super or self) init...]' の結果に設定されていない間に 'self' を返しています
#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
助けてくれてありがとう。