Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do the "S", "T" and "Pr" icons that appear in the "auto completion box" in Swift playground mean? [duplicate]

Question

What do the "S", "T" and "Pr" icons that appear in the "auto completion box" in Swift playground mean? Are there other kinds?

Thanks!

Screenshot

Answer (for search engine indexing)

C  : Classes
Pr : Protocols
f  : Functions
S  : Structs
U  : Unions
E  : Enums
T  : Types
V  : Globals
like image 867
Siu Ching Pong -Asuka Kenji- Avatar asked Mar 17 '23 12:03

Siu Ching Pong -Asuka Kenji-


1 Answers

These are the same abbreviations that appear in the Symbol navigator, where they are defined for you (as the attached screen shot shows):

enter image description here

Thus, as the table tells you, C means class, Pr means protocol, and so on.

like image 66
matt Avatar answered May 07 '23 23:05

matt