标签: ios swift swift2 nspredicate
let emailTestPredicate:NSPredicate = NSPredicate(format: "SELF MATCHES[c] %@", regStr) return emailTestPredicate.evaluateWithObject(emailStr)
emailStr是String,但错误弹出为:
emailStr
String
对成员evaluateWithObject 的模糊引用
对成员evaluateWithObject