Swiftpack.co - apple/swift-docc-symbolkit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by apple.
apple/swift-docc-symbolkit swift-DEVELOPMENT-SNAPSHOT-2024-04-24-a
A Swift package for encoding and decoding Swift Symbol Graph files.
⭐️ 166
🕓 11 hours ago
.package(url: "https://github.com/apple/swift-docc-symbolkit.git", from: "swift-DEVELOPMENT-SNAPSHOT-2024-04-24-a")

SymbolKit

The specification and reference model for the Symbol Graph File Format.

A Symbol Graph models a module, also known in various programming languages as a "framework", "library", or "package", as a directed graph. In this graph, the nodes are declarations, and the edges connecting nodes are relationships between declarations.

By modeling different kinds of relationships, SymbolKit can provide rich data to power documentation, answering interesting questions, such as:

  • Which types conform to this protocol?
  • What is the class hierarchy rooted at this class?
  • Which protocol provides a requirement called count?
  • Which types customize this protocol requirement?

In addition, graph representations of data also present opportunities for visualizations in documentation, illustrating the structure or hierarchy of a module.

Please see SymbolKit's documentation site for more detailed information about the library.

Getting Started Using SymbolKit

In your Package.swift Swift Package Manager manifest, add the following dependency to your dependencies argument:

.package(url: "https://github.com/apple/swift-docc-symbolkit.git", .branch("main")),

Add the dependency to any targets you've declared in your manifest:

.target(name: "MyTarget", dependencies: ["SymbolKit"]),

GitHub

link
Stars: 166
Last commit: 22 hours ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Swift 5.10 Release
7 weeks ago

What's Changed

Full Changelog: https://github.com/apple/swift-docc-symbolkit/compare/swift-5.9.2-RELEASE...swift-5.10-RELEASE

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics