CoreDataKit icon indicating copy to clipboard operation
CoreDataKit copied to clipboard

performBlock(block: PerformBlock ... method cause Xcode syntax error if completion handler is nil

Open eugeniobaglieri opened this issue 10 years ago • 0 comments

Xcode expand the parameter placeholder like in the second row but that form without round parenthesis is permitted only when the closure is the last parameter (not this case because completion handler has a default nil value). Should split the method in two method

screenshot 2015-09-10 14 39 02

eugeniobaglieri avatar Sep 10 '15 12:09 eugeniobaglieri