<分区>
问题
Swift playground中“自动完成框”中出现的“S”、“T”、“Pr”图标是什么意思?还有其他种类吗?
谢谢!
答案(用于搜索引擎索引)
C : Classes
Pr : Protocols
f : Functions
S : Structs
U : Unions
E : Enums
T : Types
V : Globals
<分区>
Swift playground中“自动完成框”中出现的“S”、“T”、“Pr”图标是什么意思?还有其他种类吗?
谢谢!
C : Classes
Pr : Protocols
f : Functions
S : Structs
U : Unions
E : Enums
T : Types
V : Globals
最佳答案
这些是符号导航器中出现的相同缩写,它们是为您定义的(如随附的屏幕截图所示):
因此,如表所示,C 表示类,Pr 表示协议(protocol),依此类推。
关于swift - Swift playground 中 "S"中出现的 "T"、 "Pr"和 "auto completion box"图标是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29482419/
相关文章:
ios - swift/iOS : Generics Error: protocol requires nested type 'V' ; do you want to add it?
objective-c - #import "Project-Swift.h"文件不刷新
swift - 无法暗示 _Reflectable 协议(protocol)
swift - Swift Playground 中的 PDF 生成
ios - 为什么Xcode Playground通过类似iPad的Simulator来执行liveView?