This tool allows you to inject code into running iOS application, without restarting it.
- DyCI is not about loading new code in application.
- DyCI is about speeding up development.
- Each time, you are using DyCI, it saves you time.
Uninstall DyCI before updating Xcode. If you don't you may need to reinstall xcode. We're currenlty working on this issue... If you've already expirienced this issue - remove and reinstall Xcode.
This is done once per machine. See details on installation page.
DyCI needs to integrate with the project as well. If you are using CocoaPods you can add this to your podfile
pod 'dyci', :git => 'https://github.com/DyCI/dyci-main.git'
If you prefer a manual approach you can read about it in the wiki.
- apply small logic changes in no time
- when working with UI and animations you can see the results immediately
- It's good for debugging purposes. Remember, you can inject any code at runtime, add log statements etc.
- You need minimum moves to enable dyci
- You aren't writing some kind of script, you are writing your code!
- You don't need to prepare/modify/lock your code for dyci
- Your changes are always saved (they will not be discarded on next run)
You can read all about it in the How it works wiki.
- There's an interactive demo in the workspace found in the
Dynamic Code Injection
folder. - Krzysztof Zabłocki created KZPlayground.
Please, do not use this tool in your real applications, that you will publish to the App Store. DyCI won't work on devices by default, by purpose. Dynamic code injection is good for development, but it will leave huge security hole if you put it in your application.
Please open any issue, but be sure to read the FAQ before you do:-)
There's few other tools those works kind'a the same, so if you don't like dyci - you can try those
Taykalo Paul, ptaykalo@stanfy.com.ua
Find me on twitter.