Apple Documentation Icons and their meanings

As a relative newbie to Swift and Xcode, I've been directed to Apple Documentation. When I open the documentation, the left column lists links to various frameworks, services, tools, etc. and each link is prefixed by an icon. The most common icon at the top level is a rounded square enclosing four different colored circles arranged in a square.

Clicking on the reveal triangle of the Swift link near the top of that column displays a next level of links, each link prefixed by another icon of three common types: a document icon, an icon showing several lines (code?) and a square containing the letter "S".

Entering a search argument typically displays a pop-down menu with several entries, each prefixed by a similar icon. For my purposes, most of these are the letters "S", "C", "E", or "Pr", or the lines icon.

I can work out the meaning of some of the more obvious of these icons, such as that S = Structure, C = Class, E = Enumeration and Pr = Protocol but why do I have to work this out?

If the purpose of the icons is to help me work my way through the documentation, wouldn't it help to have an explanation easily available to a newbie like me to let me know what all of them are and what each one means?

I've done several searches (in Xcode Help, in the documentation, as a Google search) to try to find the answer to that question and have come up empty.

A search in this forum for "Apple Documentation icons" is rendered nearly useless because it searches for "document icon" instead. I'm not certain what person or AI decided that "document" meant the same thing as "documentation" but the search was useless for my purposes. Yeah, they're related but "document icon" completely overwhelms the results for my intended search.

Can anyone point me to an explanation of these icons? Please don't answer with a helpful explanation of seven or eight of the most common of these icons. I'm looking for an exhaustive list with definitions. If such a list doesn't exist, then why are the icons being used in the first place, as decoration?

Thank you in advance for at least reading my diatribe.
Answered by KMT in 637897022
I suspect you've worked them out, but for future ref.:
  • C - Class

  • E - Enumeration

  • M - (Instance) Method

  • P - (Instance) Property

  • Pr - Protocol

  • S - Structure

  • T - Type (Alias)

  • V - (Global) Variable

= = =
  • Box with lines - Chapter/section top

  • Paper w/earmarked corner - Article

  • Box with 4 dots - Framework/API topic top

  • ► ...use/tap to toggle/expand content


Right click on a document while viewing, then choose 'Developer Document Help' for tips on navigating, but don't expect icon explanations there.

why do I have to work this out?

Maybe they figure if you're in that deep, you're smart enuf to suss the visuals on your own ;) Seems like a mouseOver tooltip candidate, at the least.

Might be a good enhancement request via the feedback/bug link below. Be sure to add your report #(s) to your thread for reference.

BTW, I believe Apple is still using Oxygen to generate those documents.

Ken

When I open the documentation

I'm looking at Apple's docs here:

https://developer.apple.com/documentation/swift

...but I don't see the icons/columns you're seeing - do you have a link that demos your example, thanks.
Hi, KMT,

I'm sorry for the delay. As a newbie, I had to figure out how to get back to this thread before I discovered your answer.

The developer documentation I was viewing was not online. It was that presented directly by Xcode. That is, if you activate Xcode and enter Cmd-Shift-Zero, a documentation page is displayed by Xcode. The page displayed seems to be the last page that you referenced in the documentation, but that's an aside that I'm not asking about. If you haven't referenced the Xcode documentation, I'm not sure what page it would display for you.

This displayed page has a column of sections along the left side. Each of the entries in that column is prefixed by an icon of the type I was asking about. There's also a search text box at the top of the page. If you enter a search argument, as you type, a dynamic list of predicted answers is displayed based on the characters you've already typed. Each entry in that list is also prefixed by the icons that I was asking about.

Ultimately, you go to the page you were searching for by selecting a line on that list. It would be helpful to know what all the icons meant when I have to choose a line prefixed by one of them.
Accepted Answer
I suspect you've worked them out, but for future ref.:
  • C - Class

  • E - Enumeration

  • M - (Instance) Method

  • P - (Instance) Property

  • Pr - Protocol

  • S - Structure

  • T - Type (Alias)

  • V - (Global) Variable

= = =
  • Box with lines - Chapter/section top

  • Paper w/earmarked corner - Article

  • Box with 4 dots - Framework/API topic top

  • ► ...use/tap to toggle/expand content


Right click on a document while viewing, then choose 'Developer Document Help' for tips on navigating, but don't expect icon explanations there.

why do I have to work this out?

Maybe they figure if you're in that deep, you're smart enuf to suss the visuals on your own ;) Seems like a mouseOver tooltip candidate, at the least.

Might be a good enhancement request via the feedback/bug link below. Be sure to add your report #(s) to your thread for reference.

BTW, I believe Apple is still using Oxygen to generate those documents.

Ken
Ken,

Thanks for your response and for your (misplaced) faith in my Swift abilities. I'd figured out the first 6 of your 8 listed letter icons. I hadn't pinned down T - Type (Alias) and V - (Global) Variable yet.

I'd also figured out the box with four dots (Framework/API topic top) as a Framework but had never looked up documentation through that path so hadn't realized that it pointed to the top document. I was clueless on the Chapter/section top and Article icons, though once I saw your answer it seemed like they should have been obvious.

So, though it may seem like you've only marginally helped me, the fact that you've provided an exhaustive list (it is exhaustive, isn't it?) with clear explanations makes me feel like the icons have suddenly become more useful and are worth memorizing.

Thanks, again.
Jerry
Apple Documentation Icons and their meanings
 
 
Q