I keep getting a finish block error in swift. The error is:
Cannot call value of non-function type\'((Array,Array)->())!
There\'s an
Don't specify the argument labels when you call blockFinih
. You've defined it to have no argument labels. The parameters selectedTags
and unSelectedTags
can only be used inside the function, not by the caller.
Change:
self.blockFinih(selectedTags: selected, unSelectedTags: unSelected)
to:
self.blockFinih(selected, unSelected)