NSMutableCharacterSet

extension NSMutableCharacterSet

Extensions to NSMutableCharacterSet

  • Returns an NSMutableCharacterSet comprised of the Unicode characters for currency symbols, as specified in:

    http://unicode.org/charts/PDF/U20A0.pdf

    which, at the time of this writing, is based upon The Unicode Standard version 8.0.

    According to that specification, the currency symbols fall in the range: 20A0–20CF, along with a handful of other symbols in other blocks.

    Declaration

    Swift

    public class func currencySymbols() -> NSMutableCharacterSet

    Return Value

    An NSMutableCharacterSet of currency symbols