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

defaultTouchEventsEnabled #88

Closed
jonflanders opened this issue May 15, 2015 · 5 comments
Closed

defaultTouchEventsEnabled #88

jonflanders opened this issue May 15, 2015 · 5 comments

Comments

@jonflanders
Copy link

I see you've removed defaultTouchEventsEnabled. The android version has "setTouchEnabled" - how do I now turn off user interaction - I do not want user interaction.

Thanks

@danielgindi
Copy link
Collaborator

Every UIView has userInteractionEnabled

@jonflanders
Copy link
Author

ah - thanks! I didn't see that in the API. Great work BTW.

Also - is there a way to get the data to only appear animated to start with? I'm trying to animate as the chart comes into view - but it flashes even when I try to animate right after setting the data - is there a way to delay rendering until the animation methods are called?

Thanks again - great stuff

@danielgindi
Copy link
Collaborator

I didn't experience this problem - as we usually animate on the first frame
that displays... Otherwise you have a logical problem there.
But you can try setting the data only when you really need to

On Fri, May 15, 2015 at 6:26 PM, jonflanders [email protected]
wrote:

ah - thanks! I didn't see that in the API. Great work BTW.

Also - is there a way to get the data to only appear animated to start
with? I'm trying to animate as the chart comes into view - but it flashes
even when I try to animate right after setting the data - is there a way to
delay rendering until the animation methods are called?

Thanks again - great stuff


Reply to this email directly or view it on GitHub
#88 (comment)
.

@jonflanders
Copy link
Author

should I be setting the animation up before I set the data? Is there a sample that guarantees animation on the first render?

@danielgindi
Copy link
Collaborator

Just use the first frame that is supposed to render.Ina view controller it
would be view_Will_Appear.

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