[super init] raises error


In implementing the custom initializer: - (id)initWithPossessionName:(NSString *)name valueinDollars:(int)value serialNumber:(NSString *)sNumber,
calling [super init] raises the error, “error: the result of a delegate init call must be immediately returned or assigned to ‘self’”

Is this because the 2nd edition doesn’t take into account the most recent changes to iOS5 and XCode 4.2.1?

I resolved this issue via: stackoverflow.com/questions/8057 … -or-assign

So setting self = [super init] gets rid of the error.