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

Add timeline support #8

Open
domhofmann opened this issue Sep 6, 2011 · 0 comments
Open

Add timeline support #8

domhofmann opened this issue Sep 6, 2011 · 0 comments
Labels

Comments

@domhofmann
Copy link
Owner

This is a no-brainer and could be relatively easy, since we already have the ability to create multiple instances of PRTween. An open question is what syntax might look like. Ideally, it would be as simple as:

PRTween *timeline = [[PRTween alloc] init];
[timeline addToTimeline:
    [PRTween tween:someView property:@"alpha" from:1 to:0 duration:2],
    [PRTween wait:1],
    [PRTween tween:someView property:@"alpha" from:0 to:1 duration:2],
nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant