摘要:
根据下标取值关键代码如下: func _getElement( _ index: Int, wasNativeTypeChecked: Bool, matchingSubscriptCheck: _DependenceToken ) -> Element {#if _runtime(_ObjC) return _buffer.getElement(index, wasN... 阅读全文
摘要:
只看 Swift Array 到 NSArrayArray 里的源代码extension Array { @inlinable public // @SPI(Foundation) func _bridgeToObjectiveCImpl() -> AnyObject { return _buffer._asCocoaArray() }}这里看到,调用了_asCocoaArray ... 阅读全文