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

Removed tableViewCell property from custom UIScrollView, now uses its superview #8

Open
wants to merge 1 commit into
base: selectable
Choose a base branch
from

Conversation

aout
Copy link

@aout aout commented Feb 7, 2014

Any subclass would override the content view, leaving the custom scroll view with a nil ptr.
I guess this is less flexible but we could even nest the custom scroll view inside the cell itself to make it opaque for the end user.

@ashfurrow
Copy link
Contributor

Yeah, I don't know. What about having the property is bad? I mean, I don't like to rely on the view hierarchy implicitly.

@aout
Copy link
Author

aout commented Feb 7, 2014

I think it's just a matter of situation. I didn't find any solution with a subclass and multiple XiBs for quick prototyping.
I wanted to keep the code very neat and defer all the work to the IB. This way I can design my "front" view and my "back" view (I tweaked it a bit too) knowing I don't have anything to do but plug the IBOutlets.

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.

None yet

2 participants