我正在尝试分配I
,如此:
struct D
{
...
T type_enu;
...
};
struct C
{
...
struct D obs[N]; // or struct D *obs;
...
};
struct B
{
...
T parameter[N]; // or T *parameter;
...
};
struct A
{
...
I elp_pos;
I no_elp;
struct B gindex[N]; // or struct B *gindex
...
};
struct A *aaa;
struct C *sin;
I counter1;
...
但是我一直收到错误
assessmentStatus
我已导入PlaygroundPage.current.assessmentStatus = .pass(message: "Great job!")
,PlaygroundPage has no member assessmentStatus
等语句也可以正常使用。
Apple文档声称PlaygroundSupport
存在:
但是点击PlaygroundPage.current.liveView = myController
并转到它的定义会显示该屏幕截图中显示没有成员assessmentStatus
:
有人帮忙让我排序吗?谢谢!