I have a plist data, contains an array
of dictionaries
, and I want to get all the dictionaries first value which's english
let path = Bundle.main.path(forResource:"idictionary", ofType: "plist")
let plistData = NSArray(contentsOfFile: path!)
print(plistData![0]) // only gets the first one
printing print(plistData![0])
will only show this in the log
{
english = abbey;
kurdi = "\U06a9\U0644\U06ce\U0633\U06d5";
}
but I want to print all the dictionaries
english value
here's a picture of my plist
I have a bunch of records, and trying to get every item's english
value