I have created a mini translation from English words to Spanish words. I would like to use the englishArray.plist instead of my englishArray = [\"the cat\"] How can I create thi
Change your root object to Array, then
root
Array
var myEnglishArray: [String] = [] if let URL = NSBundle.mainBundle().URLForResource("englishArray", withExtension: "plist") { if let englishFromPlist = NSArray(contentsOfURL: URL) as? [String] { myEnglishArray = englishFromPlist } }