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

Selectable cells #2

Open
livings124 opened this issue Aug 22, 2013 · 11 comments
Open

Selectable cells #2

livings124 opened this issue Aug 22, 2013 · 11 comments

Comments

@livings124
Copy link

It doesn't appear that I'm able to select, highlight, etc. the cell. Is this possible?

@ashfurrow
Copy link
Contributor

Hmm. I'm not sure but I'll take a look.

@ashfurrow
Copy link
Contributor

It looks like there's a problem with the scroll view blocking the table view's touches. Very interesting. I'm going to continue to investigate but in the mean time, there's another solution you can use.

@mbigatti
Copy link

mbigatti commented Sep 6, 2013

I Ash. I liked your approach and I was wondering if you have any news regarding the selection issue. Regards

@ashfurrow
Copy link
Contributor

It's pretty tricky – sorry I didn't see this issue before publishing the code. I'm travelling next week but I'll keep this in the back of my mind. In the mean time, I'd encourage using the other solution.

@jimrutherford
Copy link

I kinda hacked together a fix. My solution can be found at:

https://gist.github.com/jimrutherford/6627337

In a nutshell I've added a new method to the delegate protocol, add a tap gesture recognizer to the ScrollViewContentView, and a method to respond to the gesture. Not sure if it's a good idea to have a protocol in Ash's class with the same name as the protocol method in UITableViewDelegate (it's probably not and I'll likely change this in my own implementation).

@ashfurrow
Copy link
Contributor

That's a good workaround, too!

@jimrutherford
Copy link

I looked at the other solution you pointed us to, and it's no where near as beautiful as what you've built. Good job!

@mbigatti
Copy link

Hi. I'm trying jimrutherford fix. As I understand, it does not implement cell highlight on touch down, I'm thinking about using this one to replace the UITapGR http://stackoverflow.com/questions/15628133/uitapgesturerecognizer-make-it-work-on-touch-down-not-touch-up.

@mbigatti
Copy link

Hi guys, I'd like to notice you that I forked / refactored / extended Ash's original code to better suit my needs (a slightly different take on cell contents) and to integrate Jim idea (altough with different implementation). My code is here https://github.com/mbigatti/BMXSwipableCell. Feedback is appreciated and also please tell me if you feel the acknowledgements needs improvements.

@ashfurrow
Copy link
Contributor

@mbigatti Looks solid! Let me fork it and check out the implementation details.

@mbigatti
Copy link

Actually I found a couple of issues in the meantime. I'll check them out
tomorrow. I'll let you know

M.

Sent from iPhone

Il giorno 25/set/2013, alle ore 18:31, Ash Furrow notifications@github.com
ha scritto:

@mbigatti https://github.com/mbigatti Looks solid! Let me fork it and
check out the implementation details.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/2#issuecomment-25100735
.

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

4 participants