I'm planning to add to iVars
to a category with objc_setAssociatedObject()
. However, I'm unsure on when to call objc_removeAssociatedObjects()
to get rid of them.
Is there a way the category can know when the object using it has been de-allocated
?