- (void) doSomething: (id)with {
int a;
a = [with doSomething];
}
Comment le compilateur sait quel type retournera [with doSomething]
? Est-ce que cela suppose un int
, puisque c'est ce que j'assigne?Comment objec-c sait ce qui va être retourné par un objet anonyme?