3 ms·
Thanks for the link. I was wondering if they'd implemented type-inference to check what method to call for the indexing operator since the operand could be eith
by woadwarrior01 14y ago
Thanks for the link. I was wondering if they'd implemented type-inference to check what method to call for the indexing operator since the operand could be either an NSArray or a NSDictionary. It turns out they've elided the whole problem altogether by doing this at runtime with new methods. Given how dynamic objective-c is, this seems like the best way to go about it.