3 ms·
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 (non
by reidmain 13y 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.