Re:Null Object Pattern in Swift
by peterkelly on Wednesday November 11, 2015 @09:25PM
(#10550901)
Or you could do this:
The ? means that hangUp() will not be called if callWithIdentifier(identifier) returns nil.
[ Parent
| on HN ]
There are no comments on this comment yet.