What does this mean? How do I fix it?
Code:
- (id)init
{
[super init];
firstNumber = random() % 100 + 1;
secondNumber = random() % 100 + 1;
return self;
}
Error:
/Users/user/Dropbox/dev/bignerdranch_cocoa/lottery/LotteryEntry.m:15:5:{15:5-15:17}: error: the result of a delegate init call must be immediately returned or assigned to 'self' [4]
xcode 4
that has been making things a bit easier for me. – Disappointment