Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SwiftDocOrg/Swift-Semantic-Icons
Icons used by swift-doc to represent Swift code symbols.
https://github.com/SwiftDocOrg/Swift-Semantic-Icons
cc-by-nc code-sense iconography swift xcode
Last synced: about 1 month ago
JSON representation
Icons used by swift-doc to represent Swift code symbols.
- Host: GitHub
- URL: https://github.com/SwiftDocOrg/Swift-Semantic-Icons
- Owner: SwiftDocOrg
- License: other
- Archived: true
- Created: 2020-04-02T16:00:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-18T13:27:25.000Z (over 3 years ago)
- Last Synced: 2024-08-10T14:12:34.248Z (5 months ago)
- Topics: cc-by-nc, code-sense, iconography, swift, xcode
- Size: 12.7 KB
- Stars: 20
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Swift Semantic Icons
These icons are used byswift-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 inswift-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).
Inswift-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]
(CC BY-NC 4.0)Xcode® is a trademark of Apple Inc.
## Contact
Mattt ([@mattt](https://twitter.com/mattt))
[cc by-nc 4.0]: https://creativecommons.org/licenses/by-nc/4.0/legalcode