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

[Feature] Handle UIScrollViewDelegate within owners view controller. #1

Open
markst opened this issue Apr 9, 2014 · 2 comments
Open

Comments

@markst
Copy link
Contributor

markst commented Apr 9, 2014

Hey Alexander.
Should I wish to implement UIScrollViewDelegate's, I suppose I could subclass 'DXTableViewModel' and handle logic.

What if we were to implement forward invocation?

https://developer.apple.com/library/mac/documentation/cocoa/conceptual/ObjCRuntimeGuide/Articles/ocrtForwarding.html

@markst
Copy link
Contributor Author

markst commented Apr 9, 2014

Perhaps forward declaration isn't enough if I wish to override any UITableViewDelegate selectors. Any delegate method that is implemented by DXTableViewModel will not be forwarded.

markst added a commit to Papercloud/DXTableViewModel that referenced this issue Apr 9, 2014
@libdx
Copy link
Owner

libdx commented May 1, 2014

Hi markst,
It was meant to make a subclass of DXTableViewModel in case you want to change its default behaviour. Although situation with scroll view delegate makes sense. Make a PR if you wish.

markst added a commit to Papercloud/DXTableViewModel that referenced this issue May 30, 2014
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

No branches or pull requests

2 participants