开发者

Detect whether or not text in NSTextfield is a Dictionary word Cocoa

Is this actually possible? If so I wo开发者_运维百科uld like to use a simple if () statement to alert the user that he/she can not use dictionary words when entering a key for encryption.

Thank you for all your help.


Yes. Look it up in the dictionary; if it's not there, show your alert.

… to alert the user that he/she can not use dictionary words when entering a key for encryption.

About that.

It's probably a good idea to show your alert if the entered key is a single dictionary word, but I recommend allowing multiple words.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜