Skip to content

Dark-Existed/OpenGraph

 
 

Repository files navigation

OpenAttributeGraph

codecov

OpenAttributeGraph is an open source implementation of Apple's Private framework - AttributeGraph

AttributeGraph is a high performance computing engine written in C++ and Swift.

And it powers the underlying computing and diffing of SwiftUI.

CI Status
Compatibility tests
macOS
iOS
Ubuntu

The project is for the following purposes:

  • Add OAG support for non-Apple platform (eg. Linux, WASI and Windows)
  • Diagnose and debug AG issues on Apple platform

Currently, this project is in early development.

Usage

Via Swift Package Manager

Add OpenAttributeGraph as a dependency in your Package.swift:

dependencies: [
    .package(url: "https://github.com/OpenSwiftUIProject/OpenAttributeGraph.git", from: "0.2.0")
]

Note

  • You may need to configure the Swift toolchain header for proper integration of OpenAttributeGraph
  • By default, OpenAttributeGraphShims will use the private AttributeGraph as its implementation on Apple platforms

Via Prebuilt XCFramework

For a simpler setup, you can use the prebuilt XCFramework available on the releases page.

Build

The current suggested toolchain to build the project is Swift 6.1.2 / Xcode 16.4.

License

See LICENSE file - MIT

Credits

See CREDITS.md for third-party licenses and acknowledgements.

About

[WIP] OpenGraph is an open source implementation of Apple's AttributeGraph

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 36.7%
  • C++ 33.3%
  • C 20.6%
  • Objective-C++ 5.2%
  • Shell 4.2%