Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Compile fix for Swift 1.2 #90

Closed
mike-lischke opened this issue Mar 14, 2015 · 1 comment
Closed

Compile fix for Swift 1.2 #90

mike-lischke opened this issue Mar 14, 2015 · 1 comment

Comments

@mike-lischke
Copy link

     func explode (separator: Character) -> [String] {
-        return split(self, { (element: Character) -> Bool in
+        return split(self, isSeparator: { (element: Character) -> Bool in
             return element == separator
         })
     }
@pNre
Copy link
Owner

pNre commented Mar 14, 2015

Fixed in #89

@pNre pNre closed this as completed Mar 14, 2015
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

2 participants