I know this maybe an invalid question.

For email validation, I will go with regex and `NSPredicate`. But I was asked this, hence trying to get your views on this.

How to use `NSFormatter` to validate an `NSTextField` for an email address?

I can do it without `NSFormatter` using regex. But just curious to know is this possible to do it using NSFormatter?

If yes, how? Any guidance will be helpful.