- Notifications
You must be signed in to change notification settings - Fork15
Elegant tweak development in pure Swift
License
theos/orion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A DSL for elegant tweak development in Swift.
Theos –Documentation –Changelogs –Get Help –@theosdev –IRC
Orion is aDSL 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 whatLogos 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 aTheos tweak (recommended).
Orionis 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 thedocumentation.
The following is a simple tweak which changes the text of all labels to say "hello":
classMyHook:ClassHook<UILabel>{func setText(_ text:String){ orig.setText("hello")}}
SeeLICENSE.md for licensing information.
About
Elegant tweak development in pure Swift