Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Injection Guidelines

PaulTaykalo edited this page Nov 13, 2012 · 9 revisions

There's some thoughts in my mind about what should you do, and what you shoudn't, when using dyci.

First of all, you need to understand, It's your code :) Do whatever you want. Next guidelines is just an my way of thinking of what dyci should do.

  1. When you remove -(void)updateOnClassInjection method, the code must work in the same way.
  2. Think about dyci as development tool, rather than yet another framework
  3. Do not write application logic in -(void)updateOnClassInjection method. Of course, in some situations, you'll think that this is good idea, but in general - it is not :)
  4. Remember, that code you are writing in -(void)updateOnClassInjection method will run only on simulator, but never in real project.
Clone this wiki locally