在swift文件中,我没有看到编辑器_显示渲染的标记按钮。
例如。
//: - Experiment: //: Modify the `anyCommonElements(_:_:)` function to make a function that returns an array of the elements that any two sequences have in common. //:
如何在swift文件中以渲染标记模式显示?
标记格式仅适用于游乐场和快速帮助。换句话说,无法在Xcode项目的swift文件中呈现标记,但您可以使用它来改进“快速帮助”中显示的文档。有关详细信息,请参阅this和this。