该文被密码保护。 阅读全文
摘要:
import Foundation public class NodeDrawingEngine: NSObject { /// Scene root node open var node: Node = Group() { didSet { self.renderer?.dispose() sel 阅读全文
摘要:
Argument type 'Any' expected to be an instance of a class or class-constrained type Any是任意类型,AnyObject必须是对象实例,如果是OC的id类型,那么对应的应该是Any 阅读全文
摘要:
@Published 标记对象定义的属性变更可以被监听,当对应字段变化时会触发对象 objectWillChange 通知,订阅了该属性的View也会收到值改变的通知 /// A type that publishes a property marked with an attribute. /// 阅读全文