anonymous s object 未名天体
The interface to an anonymous object is published through a protocol declaration.
匿名对象的接口通过一个协议声明被发布。
In this case, it passes an anonymous object that contains values for the name of the child view to render for that section.
在这种情况下,它传递一个包含在这部分呈现的子视图的名称值的匿名对象。
When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.
当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。
应用推荐