Swiftpack.co - theos/orion as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by theos.
theos/orion 1.0.1
Elegant tweak development in pure Swift
⭐️ 181
🕓 32 weeks ago
.package(url: "https://github.com/theos/orion.git", from: "1.0.1")


A DSL for elegant tweak development in Swift.

TheosDocumentationChangelogsGet Help@theosdevIRC


Orion is a DSL designed to make it entirely effortless to interact with with Objective-C's dynamic aspects in Swift. The project's primary goal is to enable easy, fun, and versatile jailbreak tweak development in Swift. In some ways, it is to Swift what Logos is to Objective-C, but it's simultaneously a lot more than that.

It is possible to use Orion as a regular framework (invoking the preprocessor in a build script), or in a Theos tweak (recommended).

Orion is not a framework for hooking Swift code. As of now, Orion only supports hooking Objective-C and C code, however this may change in the future.

For more information, refer to the documentation.


The following is a simple tweak which changes the text of all labels to say "hello":

class MyHook: ClassHook<UILabel> {
    func setText(_ text: String) {


See LICENSE.md for licensing information.


Stars: 181
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups


Related Packages

Release Notes

32 weeks ago

Changes in this release:

  • Added support for rootless jailbreaks
  • Added support for iOS 16

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