标签: uiview swift4.2
我无法理解以下初始化。帧的值是否总是设置为CGRect(0,0,0,0)?
class Test { private: int x = 5; public: friend void display(); }; void display() { Test obj; cout << obj.x << endl; } int main() { display(); return 0; }