首先发布这里,但在搜索时找不到任何好结果..
数据来自第三方API,通过SOAP。
我试图打印一个对象的值,但只得到:
注意:尝试在xx中获取非对象的属性。
尝试1object(stdClass)#3 (1) {
["Info"]=>
object(stdClass)#4 (27) {
["First"]=>
object(stdClass)#5 (7) {
["One1"]=>
NULL
["One2"]=>
NULL
["One3"]=>
NULL
}
["Second"]=>
object(stdClass)#6 (7) {
["Two1"]=>
string(0) ""
["Two2"]=>
string(0) ""
["Two3"]=>
string(3) "1WL"
}
}
}
stdClass Object
(
[Info] => stdClass Object
(
[First] => stdClass Object
(
[One1] => value1
[One2] => value2
[One3] => value3
)
[Second] => stdClass Object
(
[Two1] => value4
[Two2] => value5
[Two3] => value6
)
)
}
It says this error on the first line under viewDidLoad.