Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for easier subclassing of radio-elements that requires the same accessory #214

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Alxandr
Copy link
Contributor

@Alxandr Alxandr commented Jan 13, 2014

I recently needed to subclass the RadioElement class to add an image to the left of the text. There were probably other ways I could have done this, but I created a subclass of UITableViewCell meaning I couldn't simply do base.GetCell(), so I had to recreate the code that does the adding of the cell accessory. This turned out to be quite painful, because a lot of the needed objects are marked as internal, thus I edited the RadioElement class to easily allow for such scenarios.

@migueldeicaza
Copy link
Owner

Alxandr,

Would it be possible to update the samples to show this in action?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants