I don’t see how it’s that different to Swift? All that would be needed is a ? after `dict` and a direct comparison to true.
dict.containsObjectForKey[@"a"]
Becomes roughly
dict?.containsObjectForKey(“a”) == true
dict.containsObjectForKey[@"a"]
Becomes roughly
dict?.containsObjectForKey(“a”) == true
No comments yet.