Discovering at runtime which of a class' instance variables are declared __weak

Viewed 558

I'm writing a tool which would benefit from knowing which of a class' instance variables are declared __weak.

This information must exist somewhere at runtime, but is there any way of accessing it, documented or otherwise? (It's for a tool, so I don't care so much about it breaking with updates)

1 Answers
Related