《The Swift Programming Language》原版中的问题汇总
Tags:Swift, questinon, 问题 《The Swift Programming Language》原版中的问题汇总问题描述(一)位置章:Automatic Reference Counting 描述实例代码和图片不匹配 (二)位置章:Protocols 描述本来要表述的意思是协议的可选内容可以通过可选链进行访问,但代码有错1。“dataSource?.fixedIncrement”后面漏了一个问号。以下是截图: 报告内容(一)I’m reading this document–The Swift Programming Language. The first one is in chapter “Automatic Reference Counting”,there are 3 pictures in the section of “Resolving Strong Reference Cycles Between Class Instances”,the pictures does not match the example code,you can’t find the expression “var number73”. The second one is in the chapter of “Protocols”,there is a example code after the second NOTE in the section “Optional Protocol Requirements” .I think maybe a “?” is missing after the “dataSource?.fixedIncrement”.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |