|Apr 15, 2011, 11:58 PM||#1|
Adding to NSMutable Dictionary
Is it possible to add all of the terms (not the definitions, just the name of the work) from the built-in OS X Dictionary into an NSMutableDictionary?
|Apr 16, 2011, 03:36 AM||#2|
|Apr 16, 2011, 03:46 AM||#3|
Dictionaries are in /Library/Dictionaries/
Each Dictionary is a bundle (with a .dictionary extension). Within each dictionary bundle in the resources is a (localised) xml file called <DictionaryName>.xml. You can parse the xml (the format looks quite simple) to get all the keys (and definitions if you want).
Sponsor me to cycle 100Km round London in the dark
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Importing NSMutable Array into Map Annotations||Futhark||iPhone/iPad Programming||39||Apr 25, 2013 03:52 PM|
|Custom Dictionary in the native OS X Dictionary App||gtx383||Mac Programming||1||Apr 10, 2013 05:42 PM|
|NSMutable Array Help||AnonymousInUse||iPhone/iPad Programming||12||Oct 11, 2012 04:46 PM|
|Resolved: Fetch object in NSMutableDictionary inside NSMutable||lasash||iPhone/iPad Programming||22||Oct 9, 2012 10:10 PM|
|Adding/Modifying custom words programatically to iOS dictionary from a csv file||ashwinr87||iPhone/iPad Programming||1||Sep 27, 2012 12:38 PM|
All times are GMT -5. The time now is 12:59 AM.