读取.plist
文件到Dictionary
guard let url = Bundle.main.url(forResource: "Address", withExtension: "plist") else {
return
}
guard let data = try? Data(contentsOf: url) else {
return
}
let swiftDic = try? PropertyListSerialization.propertyList(from: data, options: [], format: nil)