Comment

Comment by reidmain

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.

parent reidmain 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton