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

Cosmos not "touching" in tableviewcell #31

Closed
niclego opened this issue Jun 21, 2016 · 4 comments
Closed

Cosmos not "touching" in tableviewcell #31

niclego opened this issue Jun 21, 2016 · 4 comments

Comments

@niclego
Copy link

niclego commented Jun 21, 2016

Hi! i set up a tableviewcell with a few components including a cosmos view. At first i was able to get feedback using the didFinishTouchingCosmos function on my cell after i called the dequeueReusableCellWithIdentifier. But for some reason now, the cosmos interaction has seemed to have been turned off. Any idea why this is happening?

@evgenyneu
Copy link
Owner

Hello, @niclego. Thanks for the feedback. I would check two things first

  1. cosmosView.settings.updateOnTouch = true
  2. User Interaction enabled on the cosmos view in the storyboard.

Also, the demo app has a screen with cosmos views in a table. The updateOnTouch is set to false deliberately there, but you can set it back to true and verify that it is working for you (it did for me).

Let me know how it goes.

@niclego
Copy link
Author

niclego commented Jun 21, 2016

Yeah I did that. But I think it was something weird with the cosmos view
being behind the default view that table cells have. So I ended up
converting all my table views into collection views and all the table cells
into collection cells. Now cosmos is working.

Thanks for your response!
Nick

On Tuesday, June 21, 2016, Evgenii Neumerzhitckii notifications@github.com
wrote:

Hello, @niclego https://github.com/niclego. Thanks for the feedback. I
would check two things first

  1. cosmosView.settings.updateOnTouch = true
  2. User Interaction enabled on the cosmos view in the storyboard.

Also, the demo app has a screen with cosmos views in a table. The
updateOnTouch is set to false deliberately there, but you can set it back
to true and verify that it is working for you (it did for me).

Let me know how it goes.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#31 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AKCTpZaOeM3E7_rCRuXalyYwLoxrNEZuks5qOHUugaJpZM4I664c
.

@evgenyneu
Copy link
Owner

I am glad you found a solution, thanks for sharing!

@evgenyneu
Copy link
Owner

Closing this issue, feel free to reopen if needed.

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