Hacker News new | ask | show | jobs
by reidmain 4482 days ago
You can also just create a category on UIView that defines a property which could store a object.

@property (nonatomic, strong) id context;

or

@property (nonatomic, weak) id context;

if you are sure the context will always exist.