mikeash / MAObjCRuntime

ObjC wrapper for ObjC runtime API
Other
1.53k stars 191 forks source link

Add support for dynamically adding properties on 10.7 and later #6

Closed rentzsch closed 12 years ago

mikeash commented 12 years ago

Thanks! Just curious, do you have an actual use case that involves adding properties at runtime, or is this just for completeness?

rentzsch commented 12 years ago

I indeed have a use-case :)

I have a dependency-injection library that reads @properties to determine dependancies. I'd like for it to work with Nu, with otherwise lacks any support for declaring properties.

mikeash commented 12 years ago

Nifty. Thanks again for the patch, much appreciated. It's great to see people making use of this code.