krzysztofzablocki / PropertyMapper

Property mapping for Objective-C iOS apps.
http://merowing.info
MIT License
1.13k stars 81 forks source link

added if(NO){…} around [target property] #23

Closed samdods closed 10 years ago

samdods commented 10 years ago

This code should never be called at runtime, it is only intended to provide compile-time errors.

By adding this if statement the code will not be called at runtime, and it will even be optimised out by the compiler. This avoids possibly-undesirable side effects.