iphone - How to check if a word is defined in the English dictionary in cocoa-touch? -


i trying make crossword app ios don't know how check if string valid english word or not.

how can check it. there api or online facility check it. in advance

easy in ios5 using uireferencelibraryviewcontroller class' +dictionaryhasdefinitionforterm: method.

a uireferencelibraryviewcontroller object provides dictionary service definition of terms. create , initialize reference library view controller using initwithterm: method. pass term define parameter method , definition displayed. can present view controller modally or part of interface. on ipad, can set reference library view controller content view controller of uipopovercontroller object. optionally, use dictionaryhasdefinitionforterm: class method check if definition available given term before creating instance—for example, use method if want change user interface depending on whether definition available.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -