This content has been marked as final.
Show 4 replies
-
Re: dictionnary for letter's game
esperal Nov 22, 2016 2:11 AM (in response to esperal)with swift 3
-
Re: dictionnary for letter's game
eskimo Nov 22, 2016 1:34 PM (in response to esperal)There’s no direct access to the auto correct dictionary used by the keyboard. There’s various indirect access (via things like UITextChecker and UIReferenceLibraryViewController) but nothing that’ll simply return you a list of words that you can use as input to your game.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: dictionnary for letter's game
ahltorp Nov 23, 2016 7:08 AM (in response to esperal)As eskimo has already said, you cannot get access to the dictionary that the keyboard uses, but there is a free dictionary on your Mac, in /usr/share/dict/web2. It 's from 1934 (that's why it's free), so it will not have more modern words, but it could nevertheless be useful for you.
-