You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
17 lines
330 B
//
|
|
// UITextField+Ext.swift
|
|
// GME Remit
|
|
//
|
|
// Created by InKwon Devik Kim on 04/07/2019.
|
|
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
extension UITextField {
|
|
func removeNonASCII(){
|
|
guard let inputText = text else { return }
|
|
|
|
text = inputText.filter{$0.isASCII}
|
|
}
|
|
}
|