Detectar si el texto en NSTextfield es una palabra del diccionario Cocoa

Is this actually possible? If so I would 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.

Gracias por toda tu ayuda.

preguntado el 27 de agosto de 11 a las 16:08

If you can wait for iOS 5, your patience might pay off… -

@Amorya iOS has no relevance; this is a Cocoa question, not a Cocoa Touch question. -

Oops! Sorry, misread the tag. -

1 Respuestas

Sí. 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.

Sobre eso.

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

Respondido 27 ago 11, 23:08

Haha why is the link for the information about the alert (which I know how to handle) redirect to an xkcd comic hahaha. - user762034

@Bobby bob: The link is not about the alert. Read the comic; it's about the fitness of dictionary words for passwords/keys. - Peter Hosey

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.