All Projects → SwiftDocOrg → Swift-Semantic-Icons

SwiftDocOrg / Swift-Semantic-Icons

Licence: other
Icons used by swift-doc to represent Swift code symbols.

Projects that are alternatives of or similar to Swift-Semantic-Icons

articles-ko
Articles for NSHipster.co.kr
Stars: ✭ 18 (+0%)
Mutual labels:  cc-by-nc
Material-Design-Android
My stash for all things material, animations, typography, iconography, transitions, Animated VD, Color Palette API, UI design, and more.
Stars: ✭ 38 (+111.11%)
Mutual labels:  iconography

Swift Semantic Icons

These icons are used by swift-doc to distinguish between different kinds of symbols in documentation. They draw inspiration from Xcode's Symbol Navigator and Minimap (also known as "Code Sense" icons), making changes to better fit their use in swift-doc.

For example, types in Xcode are typically represented with the same color (purple), distinguished only by their first letter (C for classes, S for structures, and so on). In swift-doc, we assign distinct colors for classes, enumerations, protocols, and structures, and apply them consistently throughout the site in icons as well as links and symbol graphs. Note, however, that green is shared by top-level functions, variables, and typealiases, and that properties and cases are both teal, as they're less likely to be displayed alongside one another.

Icon Meaning
Associated Type
Class
Enumeration
Enumeration Case
Extension
Function
Method
Operator
Property
Protocol
Structure
Typealias
Variable

License

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Xcode® is a trademark of Apple Inc.

Contact

Mattt (@mattt)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].