Description
SwiftTweaks lets you adjust an iOS app on the fly, in debug builds, without recompiling. It is meant for the magic numbers that shape how an app feels, such as animation timings, font sizes and colors, which often look different on a real device than in a design tool. You replace a boolean, number or color in your code with a Tweak, then change its value while the app runs. The supported types are Bool, Int, CGFloat, Double, UIColor, TweakAction, String and StringOption. Helper TweakGroupTemplate types bundle commonly used tweaks together with sensible defaults that you can override, and you can build your own templates from any combination of tweaks. Tweak actions can use closures, so an action can run code that does not depend on data from the tweak. The project is on GitHub and accepts contributions. Its README also has a section comparing the library with Facebook Tweaks.…
Highlights
- Change numbers, colors, bools and strings at runtime
- Debug builds only, no recompiling
- Tweak group templates
- Closure-based tweak actions
- Custom templates from any mix of tweaks
Ratings & Reviews
No ratings yet
Be the first to rate SwiftTweaks.
People also visit
SwiftTweaks FAQ
What is SwiftTweaks?
A library that lets you change constants in an iOS app while it runs, without rebuilding in Xcode.
Which types can I tweak?
Bool, Int, CGFloat, Double, UIColor, TweakAction, String and StringOption.
Is it for release builds?
No. The README describes it as a tool for the debug builds of a Swift project.
Can I make my own groups of tweaks?
Yes. You can create a TweakGroupTemplate from any combination of tweaks.
What are the best SwiftTweaks alternatives?
Popular alternatives to SwiftTweaks include ViewMonitor and Wave. See all SwiftTweaks alternatives









