dyci-main

Dynamic Code Injection Tool for Objective-C

Github星跟踪图

# DyCI – Dynamic Code Injection

Join the chat at https://gitter.im/DyCI/dyci-main
Carthage compatible

This tool allows you to inject code into running iOS application, without restarting it.

  1. DyCI is not about loading new code in application.
  2. DyCI is about speeding up development.
  3. Each time, you are using DyCI, it saves you time.

WARNING

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.

Installation

1. Install on machine

This is done once per machine. See details on installation page.

2. Add to your project

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.

Reasons, why do you need this tool

  • 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.

Compared to other tools

  • 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)

How it works

You can read all about it in the How it works wiki.

Demos

ic-Tac-Toe game

Tic-Tac-Toe Game recreation

Example

  • There's an interactive demo in the workspace found in the Dynamic Code Injection folder.
  • Krzysztof Zabłocki created KZPlayground.

WARNING

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.

FAQ

Please open any issue, but be sure to read the FAQ before you do:-)

Other Tools

There's few other tools those works kind'a the same, so if you don't like dyci - you can try those

Author(s)

Taykalo Paul, ptaykalo@stanfy.com.ua
Find me on twitter.

主要指标

概览
名称与所有者DyCI/dyci-main
主编程语言Objective-C
编程语言Shell (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2012-10-31 06:56:39
推送于2017-03-13 20:48:28
最后一次提交2017-03-13 22:48:27
发布数15
最新版本名称1.6.1 (发布于 2015-06-02 14:42:53)
第一版名称v0.1.1 (发布于 2012-11-27 22:09:41)
用户参与
星数1.1k
关注者数49
派生数121
提交数214
已启用问题?
问题数80
打开的问题数18
拉请求数30
打开的拉请求数1
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?