        let numberSet = CharacterSet.decimalDigits
        if (string as NSString).rangeOfCharacter(from: numberSet.inverted).location != NSNotFound { return false }
        
        return true
    }
    
    func textFieldDidEndEditing(_ textField: UITextField, reason: UITextFieldDidEndEditingReason) {
        if self.arfDataManager.intString(textField.text!) > self.points {
            let label = "Points exceed total allowable points!"
            HUD.flash(.label(label), onView: nil, delay: 3.5, completion: { (success) in
                textField.becomeFirstResponder()
            })
        }
    }