Nella mia app iOS5, ho NSObject Stateslezione e sto provando a iniziarla:
states = [states init];
ecco il initmetodo in States:
- (id) init
{
if ((self = [super init]))
{
pickedGlasses = 0;
}
return self;
}
Ma c'è un errore nella linea states = [states init];
tipo di ricevitore "Stati" per esempio messaggio è una dichiarazione diretta
Cosa significa? Che cosa sto facendo di sbagliato?
