Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在调用协议或委托期间我应该在哪里使用 set 或 get 方法
Set 和 Get 用于在属性中设置和获取任何值,而不是用于协议。委托用于接收来自另一个控制器的回调。