Adding/Modifying custom words programatically to iOS dictionary from a csv file

Discussion in 'iOS Programming' started by ashwinr87, Sep 26, 2012.

  1. ashwinr87 macrumors member

    Mar 9, 2011
    I have a csv file containing medical terms. I want to add these medical terms to the iOS dictionary through my app, so that when the spell check occurs, it takes into account the medical terms as well.

    Is there a way I could do this?

    I did come across the UITextChecker Class and the learnWord method in it. However, I was not really sure how to proceed with it. Would it be the best way to add thousands of words to the iOS dictionary?

    It would be great if someone could get help me regarding this.
  2. ashwinr87 thread starter macrumors member

    Mar 9, 2011
    setIgnoredWords method in UITextChecker - iOS


    I want my app to ignore an array of words and not treat them as "misspelt" words.
    I came across the setIgnoredWords method in the UITextChecker Class , but I am not able to figure out how to use it.

    It would be really great if someone could help me out with this.

Share This Page