by DrTung · 10y ago · 0 comments
One could certainly argue that making nil messaging an error is better, but either way it's a different sort of reasoning.
delegate?.someOptionalMessage?(param: param)
It's a great language feature I appreciated in Obj-C, and not lost to Swift!