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

willSelectRowForItem and willDeselectRowForItem #238

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

Conversation

irzyxa
Copy link

@irzyxa irzyxa commented Sep 5, 2017

Methods willSelectRowForItem and willDeselectRowForItem must return nullable value (you wrote in comments that they can return nil), to have optional value in Swift (Any?)

…value

Methods willSelectRowForItem and willDeselectRowForItem must return nullable value (you wrote in comments that they can return nil), to have optional value in Swift (Any?)
@AmeerChand
Copy link

I am using Ra Tree View Controller. It's working far fine in iOS 10 versions, but having alot of scrolling and tapping gestures issues in iOS 11 (Xcode 9.0). Wishing to fix these issues. Moreover, is there any possible to expand only one row at a time? On tapping other row, it will automatically collapse other rows.

I am using these delegates but they are not working good, as I wish to collapse and close all other rows and just expand one row per time.

[_treeView collapseRowForItem:lastSelectedPoint withRowAnimation:RATreeViewRowAnimationNone];
[self treeView:_treeView willCollapseRowForItem:lastSelectedPoint];

By over-riding these delegates, I am trying. They are working very close but in few cases they are not working.
Also, fix bugs for iOS 11.
Thank you.

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