Sentinelle manquante dans la méthode d'expédition

Je veux créer une sous-classe de NSMutableArray et le besoin de remplacer la -initWithObjects: méthode.

Mais Comment appeler [super xxx];?

- (id) initWithObjects:(id)firstObj, ... {
    [super initWithObjects:firstObj]; //Error: Missing sentinel in method dispatch
    //Error: The result of a delegate init call must be immediately returned or assigned to "self"

}

Grâce.

source d'informationauteur Ben Lu