Skip to content

Instantly share code, notes, and snippets.

@ayanonagon
Created June 17, 2016 23:01
Show Gist options
  • Save ayanonagon/edbb11e52faddefc25cd9a1e2b5d046a to your computer and use it in GitHub Desktop.
Save ayanonagon/edbb11e52faddefc25cd9a1e2b5d046a to your computer and use it in GitHub Desktop.
Swift 3.0 CharacterSet Bug
import Foundation
var nonAlphaNumeric = CharacterSet.alphanumerics.inverted
nonAlphaNumeric.remove(charactersIn: " ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment