Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

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

Open
eugeniobaglieri opened this issue Sep 10, 2015 · 0 comments

Comments

@eugeniobaglieri
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant