-2
{
ac = 0;
storeLocation = "<null>";
storeSizeSqFt = 1000;
tinNumber = testdummy4y58;
wirelessInternet = 0;
}
访问数据我已经写代码JSON解析和字典
func StoreInfo(notification : NSNotification){
if let result = notification.userInfo{
print(result)
if let particularStoreInfo = result["data"] as? NSDictionary{
print(particularStoreInfo)
if let temp = particularStoreInfo["store"] as? NSDictionary{
print(temp)
}
}
}
}
我已经成功地走过的字典里,但现在指导我如何保存和存储字典里访问的细节。
除非您确实需要KVC功能,否则请勿使用'valueForKey:'/'setValue:forKey:'。 – vadian