3 ms·
> -foo would just as definitively indicate that it returns an object. The return type defaults to id, not void. How would it definitely indicate that it return
by vor_ 13y ago
> -foo would just as definitively indicate that it returns an object. The return type defaults to id, not void.
How would it definitely indicate that it returns an object? It has the same signature whether it's an accessor or a behavior, so you don't know if the implementation is returning an object.
- mpweiher 13y ago> It has the same signature whether it's an accessor or a behavior, That turns out not to be the case: -(void)behavior; -accessor;